h max = 45.92 m
Further explanation
Given
1 kg ball
vo=initial velocity = 30 m/s
Required
Height
Solution
We can use the principle of energy conservation or parabolic motion
For parabolic motion
h max = vo²sin²θ/2g(θ= 90° for straight up)
For conservation energy :
KE₁=PE₂
1/2.m.vo² = m.g.h
We choose parabolic motion
h max = vo²sin²θ/2g
h max = 30²sin²90/2 x 9.8
h max = 45.92 m