A mass M is suspended from a spring and oscillates with a period of 0.940 s. Each complete oscillation results in an amplitude reduction of a factor of 0.96 due to a small velocity dependent frictional effect. Calculate the time it takes for the total energy of the oscillator to decrease to 0.50 of its initial value.