Step-by-step explanation:
To write a sine function you simply need to use the following equation: f(x) = asin(bx + c) + d, where a is the amplitude, b is the period (you can find the period by dividing the absolute value b by 2pi; in your case, I believe the frequency and period are the same), c is the phase shift