**QUESTION 1**

An object with an initial temperature of To that is placed at time t=0 inside a chamber that has a constant temperature of Ts, will experience a temperature change according to the equation:

T = Ts + (To - Ts) e

^{-kt}
where T is the temperature of the object at time t (in hour), and k is a constant. A soda can at a temperature of 120

^{0 }F (was left n the car) is placed inside a refrigerator where the temperature is 38^{0 }F. Determine the temperature of the can after three hours. Assume k=0.45. First, define all the variables and then calculate the temperature using one MATLAB command.
[5 marks]

ANSWER

Thanks for help with the matlab syntax!

ReplyDelete