Unit #4 Homework Problem | |
|
|
4hw2a
|
|
Newton's Law of Cooling states that the rate of cooling of an object is proportional to the temperature difference between the object and its surroundings. If an object has initial temperature temp0, the temperature of the surroundings is temps, and in time tdrop the temperature of the object falls to temp1, then the temperature of the object at time t is given by the formula: An
object of initial temperature of 199 degrees Fahrenheit cools down to
85 degrees Fahrenheit in about 89.5 seconds, when it is kept in a room
of 75 degrees Fahrenheit. Write a program which creates a table of temperature
vs time for the first 30 seconds of cooling ( time varies between 0 and
30 seconds). The table should have 7 lines of numbers and an appropriate
heading.
|
|