The linear oscillator

Let us begin with this problem which is simple, to learn the basics about numerical solution of differential equations. In later chapters more complicated problems will be studied. In this case, p=2, and the potential is given by:

V=(k/2)*x^2

and the force is then:

F = -kx

The solution of Newton's differential equation

[Newton eqn]

is the familiar simple harmonic motion

[harmonic motion eqns]

A noteworthy feature of these harmonic oscillations is that the angular frequency omega and the period T in (24) are independent of the amplitude A; both large and small oscillations have the same frequency omega_0.