The differential equation below models the temperature of a 95°C cup of coffee in a 21°C room, where it is known that the coffee cools at a rate of 1°C per minute when its temperature is 71°C. How to solve the differential equation?

enter image source here

1 Answer
Dec 2, 2017

See below.

Explanation:

This is a separable differential equation so it can be arranged as

(dy)/(y-21) = -1/50 dtdyy21=150dt

Now, integrating each side

log_eabs(y-21) = -1/50 t + C_0loge|y21|=150t+C0 or

y-21 = C_1 e^(-t/50)y21=C1et50

Now, at t = 0t=0 the temperature is 95^@95 or

95^@-21^@ = C_1 e^0rArr C_1 = 74^@9521=C1e0C1=74 and finally

y = 21^@ +74^@e^(-t/50)y=21+74et50