Given that
The period is 24 seconds
The average height is 8 feet.
The distance between the maximum and minimum height is 4 feet.
Cosine function for this model.
At t=0 the function is in average height.
Let y be the height.
Let t be the time of seconds
The general cosine equation is

Here amplitude |a| represents the half distance between the maximum and minimum height.


Substitute a=2 in the general equation, we get


Substitute period =24, we get

Using the cross product, we get

Dividing both sides by 24, we get


Substitute b=pi/12 in the general equation, we get

When t=0 the height is 8,




Substitute c=6 in the equation, we get

We get the equation for the average height, it will increase upward and reach the highest height.