Rimjhim Mittal
pushing code
a29f92f
|
raw
history blame
516 Bytes

A simple Newtonian cooling process model has been implemented using the MDF library, simulating the cooling of an object to the ambient temperature over time. Newton's Law of Cooling is expressed by the differential equation: dTdt=βˆ’k(Tβˆ’Tambient) \frac{dT}{dt} = -k(T - T_{\text{ambient}})

  • The temperature of the object is denoted by $T$,
  • The ambient temperature is denoted by $T_{\text{ambient}}$,
  • The cooling coefficient is represented by $k$,
  • The rate of change of the temperature over time is given by $\frac{dT}{dt}$.