m= 5 kg
v = 10 m/sec
Hence KE = (1/2)mv² = 5*10*10 /2 =250 J
Considering Law of conservation of energy - Kinetic energy of the ball will convert into potential energy when ball reaches the max height.
Hence we have Potential Energy= 250 J
let height =h and acceration due to gravity =g= 9.8 m/sec²
we have PE=250=mgh=5*9.8*h
PE is 250J and Max height gained 5.1m