Previous section-----Next section

3.3.3 Interpolation

Mathematica InterpolatingFunction objects can be used to improve the appearance of a ListPlot by smoothing out the data. Mech provides a function that facilitates the creation of InterpolatingFunction objects, by assuming a dependence on time.

Mech interpolation utility.

Using the quick-return mechanism model that was defined in Section 3.3.1, the plot of the connecting rod angle is reproduced using TimeInterpolate to create an InterpolatingFunction.

This generates a list of solutions.

This generates an InterpolatingFunction object.

In[18]:=
Out[18]=

Here is a plot of the connecting rod angle versus time.