Mass of the body, (m) = 2 kg
Initial velocity of the body, (u) = 20 m/s
Time, (t) = 2s
Acceleration due to gravity, (g) = 10 m/s2
Let the height attained at the end of 2 s be (s)
We will use the second equation of motion to find the height of the body,
(We have taken a negative because it is opposite in direction to the initial velocity)
We can calculate potential energy as,
P.E = (m) (g) (h)
So,
P.E = 2 × 10 × 20 J