The total energy (in the continuum) reads as E=K+I+P=12∂π∂s(u2+v2+w2)+cp(θv∂π∂s)Π+∂ϕ∂sp+ E = K + I + P = \frac{1}{2} \pder{\pi}{s} \left(u^2 + v^2 + w^2 \right) + c_p (\theta_v \pder{\pi}{s})\Pi + \pder{\phi}{s} p + \frac{}{}E=K+I+P=21∂s∂π(u2+v2+w2)+cp(θv∂s∂π)Π+∂s∂ϕp+
E=K+I+P=12∂π∂s(u2+v2+w2)+cp(θv∂π∂s)Π+∂ϕ∂sp+ E = K + I + P = \frac{1}{2} \pder{\pi}{s} \left(u^2 + v^2 + w^2 \right) + c_p (\theta_v \pder{\pi}{s})\Pi + \pder{\phi}{s} p + \frac{}{}E=K+I+P=21∂s∂π(u2+v2+w2)+cp(θv∂s∂π)Π+∂s∂ϕp+