Quadratic formula of a projectile in motion (lunched upward):
s(t) = -g t2 + v0 t + h0
Where:
s(t): position at time t
-g t2: acceleration = -4.9t2
v0 t: initial velocity
h0: initial height
In this case:
s(t) = -4.9t2 + 32t + 4
Maximum height in a negative quadratic, is the vertex of the parabola:
t = -b / 2a
t = -32 / 2 (-4.9)
t = -32 / -9.8
t = 3.27
s(3.27) = -4.9 (3.27)2 + 32 (3.27) + 4
s(3.27) = 56.24
The maximum height is 56.24 feet, at 3.27 seconds.