The graph of the function is in the form of
, where
is amplitude and
is the shift along
-axis.
Observe the graph of the function :
\The difference between the maximum height and the minimum height is twice of the amplitude of the function.
\

The amplitude of the function is
.
Shift along
- axis is the average of the two heights.

Shift along
- axis is
.
Substitute the values
and
in the function
.
.
The function is
.