The correct option is B 40J
K.E=12×m×v2
K.E=0.5×0.2×20×20=40J
As it has 40 J at initial point as total energy, at some point X,P.E is maximum.
Total energy=P.E+K.E
40=P.E+K.E
As energy is conserved, total energy at point X also must be 40 J. For P.E to be maximum K.E must be zero.
Hence P.E=40J
We can come to the conclusion that it will have the maximum value at maximum height.