Mass-nonlinear spring systemA numerical differential equation solver can also be used if the spring is nonlinear. For a linear spring, the force is proportional to the extension of the spring, $F=-kx$. For a hard spring, the force grows faster than linearly as the spring is extended. An example of a hard spring force is $F=-kx|x|$. For a soft spring, the force grows slower than linearly as the spring is extended. An example of a soft spring force is $F=-k\sin(x)$. In the simulation below, the spring is stretched from its equilibrium position and the mass $m$ is released from rest. If friction is neglected, the mass oscillates around the equilibrium position of the spring. For nonlinear springs, the oscillation frequency depends on the amplitude of the oscillations. For hard springs, the frequency increases with amplitude and for soft springs, the frequency decreases with amplitude. The period of the oscillations depends on the initial amplitude $x(t_0)$.
|