The amplitude is
.
The time period
.
An object that moves on a coordinate axis so that the distance
from its rest position at time
, then the function is
.
The object starts at a vertical position, so
.

Substitute
.


.
Substitute
and
in
.
.
The function is
.
The function is
.