The potential energy of a particle executing S.H.M. is 2.5 J, when its displacement is half of amplitude. The total energy of the particle be