What is the formula for the energy of a damped harmonic resonance?

The exciter has the following energy: E = 1/2 *m*v^2 The damping takes energy: E = e^(-δt) δ = damping coefficient I want to know which formula describes the energy of the entire system. I need this by next Monday (I'm writing a term paper as a substitute), but I would still appreciate a reply…

Why is an anti-water hammer component missing in the old building?

A colleague was apparently in a bit of a hurry as he was about to leave for work, so he slammed his faucet (a single-lever mixer faucet) down extremely hard. A loud banging noise was heard throughout the house. As he went into the stairwell, an elderly neighbor warned him to be very careful when…