- #1
mjc456
- 4
- 0
A friend of mine wants help building a beer temperature calculator program. The idea is this:
He is a beer snob, and wants to drink his beer at exactly the perfect temperature. He wants to write a program that will time how long he needs to let his beer sit on his kitchen counter after pulling it out of the fridge, for it to reach this optimum temperature.
He specifies a desired temperature for his beer to reach, specifies the temperature it is stored at in his refrigerator, and any other pertinent details (bottle thickness and dimensions, ambient room temp., percentage of alcohol and water in the beer, etc.), and hits GO the second he pulls the beer out, at which time the program runs a timer that beeps at the appropriate moment.
I have tried to figure out the pure math approach to this, but I'm confused enough that I fear at this point even if I stumbled on to the right answer I wouldn't recognize it, so I'm asking for help.
I figure that Newton's Law of cooling would apply here, although it seems that for that to work, you need to take the temperature of the beer at two times during the cooling process in order to establish the value of the proportionality constant. I figure that would be the most accurate way to get the right equation, but in principle he would like to not have to measure temp. twice.
The other piece that I came up with were the two equations from my Physics book, those being:
- Energy required to heat a substance: Q = mass * specific heat * Temp. difference
- Thermal current (Rate of heat energy transfer): dQ/dt = k (proportionality constant) * A (surface area of the conducting surface) * Temp. difference between the two surfaces / thickness of the surface.
I feel like somehow all the information is there for me to solve this, but I'm not seeing how to put it together. So:
- Am I even on the right track? If so, how do I combine this stuff? I figure it should look like an exponential decay curve when I'm done, but I feel shaky with any of the solutions I've come up with.
- Should I even be using that thermal current equation, which is for heat conduction? Is this really a conduction situation, or would convection be more appropriate? (I think conduction fits, but not sure).
Anyway, I've beat my head against this for a while, going between my Physics and Calculus books, for a couple of days. So, any help anyone could provide would be greatly appreciated. Thanks.
He is a beer snob, and wants to drink his beer at exactly the perfect temperature. He wants to write a program that will time how long he needs to let his beer sit on his kitchen counter after pulling it out of the fridge, for it to reach this optimum temperature.
He specifies a desired temperature for his beer to reach, specifies the temperature it is stored at in his refrigerator, and any other pertinent details (bottle thickness and dimensions, ambient room temp., percentage of alcohol and water in the beer, etc.), and hits GO the second he pulls the beer out, at which time the program runs a timer that beeps at the appropriate moment.
I have tried to figure out the pure math approach to this, but I'm confused enough that I fear at this point even if I stumbled on to the right answer I wouldn't recognize it, so I'm asking for help.
I figure that Newton's Law of cooling would apply here, although it seems that for that to work, you need to take the temperature of the beer at two times during the cooling process in order to establish the value of the proportionality constant. I figure that would be the most accurate way to get the right equation, but in principle he would like to not have to measure temp. twice.
The other piece that I came up with were the two equations from my Physics book, those being:
- Energy required to heat a substance: Q = mass * specific heat * Temp. difference
- Thermal current (Rate of heat energy transfer): dQ/dt = k (proportionality constant) * A (surface area of the conducting surface) * Temp. difference between the two surfaces / thickness of the surface.
I feel like somehow all the information is there for me to solve this, but I'm not seeing how to put it together. So:
- Am I even on the right track? If so, how do I combine this stuff? I figure it should look like an exponential decay curve when I'm done, but I feel shaky with any of the solutions I've come up with.
- Should I even be using that thermal current equation, which is for heat conduction? Is this really a conduction situation, or would convection be more appropriate? (I think conduction fits, but not sure).
Anyway, I've beat my head against this for a while, going between my Physics and Calculus books, for a couple of days. So, any help anyone could provide would be greatly appreciated. Thanks.