A one-dimensional harmonic oscillator of mass M and spring constant k is subjected to a friction force F_ƒ (t)= −λ v (t) where v (t) is the velocity of the point mass and λ > 0. Using a coordinate axis Ox where the origin O corresponds to the position of the point mass when the harmonic oscillator is at rest, the equation of motion reads,
\ddot{x} +2\gamma \dot{x} +\omega ^{2}_{0} x =0.
where \omega ^{2}_{0} = k/M and γ = λ / (2M). In the weak damping regime, where γ \ll ω_0, the position can be expressed as
x (t) = Ce^{−γt} \cos(ω_0t + \phi).
where C and ∅ are integration constants.
a) Express the mechanical energy E (t) in terms of the coefficients k, C and γ.
b) Calculate the power P (t) dissipated due to the friction force F_ƒ (t) during one oscillation period.