Another simple harmonic motion system is a pendulum. A simple pendulum consists of a mass on a string.
The forces applied to the mass are the force of gravity and the tension in the string. A component of the force of gravity provides the restoring torque. Applying Newton's second law for rotation:
Σ τ = Iα
mg L sin(θ) = I α
The negative sign is because the torque is opposite to the angular displacement.
For a system to undergo simple harmonic motion we must have the acceleration proportional to the negative of the displacement. We almost have that here. For small angles, however, we can use the smallangle approximation:
sin(θ) = θ
This gives, at small angles:
mgLθ = I α
α  =  

θ 
A hallmark of simple harmonic motion is that α = ω ^{2} θ
So, the angular frequency is ω  =  ( 

)  ^{½} 
For a simple pendulum the rotational inertia is given by:
I = mL^{2}
This gives w  =  ( 

)  ^{½} 
Note that this is independent of the mass of the pendulum.
The general equation giving the position of the pendulum as a function of time is:
θ(t) = θ_{max} cos(ωt + φ)