According to Newton’s law of cooling, the temperature of a body changes at a rate pro- portional...

60.1K

Verified Solution

Question

Physics



According to Newton’s law of cooling, the temperature of abody changes at a rate pro-
portional to the difference between its temperature and thatof the surrounding medium (the ambient
temperature),
dT
dt = −k(T − Ta) with T(0) = T0
where T is the temperature of the body in oC, t is time inmin, k = 0.019 min−1
is the proportion-
ality constant, and Ta = 20 oC is the ambient temperature. Theanalytical solution for this ordinary
differential equation (ODE) is:
T(t) = Ta + (T0 − Ta)e
−kt
The Euler’s numerical method for solving the ODE assumes thatthe first derivative is approximated
using the finite difference equation:
dT
dt ≈
∆T
∆t
=
Ti+1 − Ti
∆t
Suppose that a cup of coffee originally has a temperature of70 oC. Solve the ODE
(a) Using Eulers method for the temperatures from t = 0 to 20min using a step size of 5 min.
(b) Plot the results obtained in parts (a) together with theanalytical solution given above

Answer & Explanation Solved by verified expert
4.4 Ratings (923 Votes)
actually in this problem we are ananlysing the problem of bodyafter every 5 min and    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students