\[\mathcal{E}\left(x,k\right)=k^{2}\int_{0}^{x}{\operatorname{cn}}^{2}\left(t,k%
\right)\,\mathrm{d}t+{k^{\prime}}^{2}x,\]