Write a formula for the generalized sinusoidal function graphed above.

.