You can put this solution on YOUR website! Write a sine function with the given maximum M, minimum m, and period.
M=3 m=-3 period=pi
-------
Form:: y = asin(bx)
a = 3
period = 2pi/b = pi
b = 2
------------------
y = 3sin(2x)
==================
Cheers,
Stan H.
==================