Answer
$y=50cos(16\pi t)$
Work Step by Step
Given $f=8, a=50$, since P is at its maximum displacement when t =0,
we should use a $cos$ function as $y=a\cdot cos(\omega t)$ with $\omega=2\pi f=16\pi$
the equation becomes $y=50cos(16\pi t)$