Calculation of energy (q, w, ΔE)