« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Parametric Differential Equations

Newton's Law of Cooling 

Fit data sampled from a container of cooling liquid to the model from Newton's law of cooling.
In[1]:=
Click for copyable input
X

Convert data to kelvins and find initial and final (ambient) temperatures.

In[2]:=
Click for copyable input
X

Find solutions to Newton's law of cooling depending on parameters k1 and k2.

In[3]:=
Click for copyable input
X
In[4]:=
Click for copyable input
X

Fit the parameters in the differential equation to the given data.

In[5]:=
Click for copyable input
X
In[6]:=
Click for copyable input
X
Out[6]=

Show the solution with the data.

In[7]:=
Click for copyable input
X
Out[7]=