The restoring force of a spring is F(x) = -k(x-x0)exp(-t/T) where k and T are constants, x is the position of a mass on the spring, and x0 is the position of equilibrium of the spring.

How do you find the potential energy of the mass-spring system?

How do you determine the amount of energy lost per time?