after what minimum time the energy of a horizontal spring mass system oscillating with time period T is half kinetic and half potential ?