By using laws of motion we get
S=−ut+12at2
u=20msec
By substituting the time and initial velocity in above equation and acceleration due ot gravity as9.8msec2
S=−20×(5)+12×9.8×(5)2
S=22.5m
Again by using
v=u+at
The velocity of the body is calculated as
v=−20+9.8×5
v=29msec
Then velocity of the ball while stinking is29msec