To find the equation we use:
[tex]h(t)=-\frac{1}{2}gt^2+v_0t+h_0[/tex]Where h is the gravity, v0 is the intial velocity and h0 is the initial height.
Then, we replace the values,
[tex]\begin{gathered} g=32\frac{ft}{s^2};v_0=47\frac{ft}{s};h_0=12ft \\ h(t)=-\frac{1}{2}32t^2+47t+12 \\ h(t)=-16t^2+47t+12 \end{gathered}[/tex]