How an electrical and mechanical oscillation can be treated with the same differential equation by exchange of its coefficients