The potential energy of a particle executing S.H.M. 25J , when its displacement is half of amplitude. The total energy of the particle is :
According to the conservation of energy
K.E.+P.E.=constant
Then
12mv2+12Kx2=12KA2
At half amplitude i.e.A=x2
K.E.=38KA2
P.E.=18KA2
K.E.=3P.E.
T.E.=4P.E.
Hence the total energy is100J