Answer
$y=-3\ cos(4x)$
Work Step by Step
As $f(0)\ne0$, use the form $y=a\ cos(bx)$. We can identify the period as $p=\frac{\pi}{2}$, thus $\frac{2\pi}{b}=\frac{\pi}{2}$ and $b=4$. We can find the amplitude as $3$, let $a=-3$ which is good for $f(0)=-3$. The answer is $y=-3\ cos(4x)$