Potential for transverse oscillations of mass on springs

 

Potential function $U(y)$ for transverse oscillations of one mass on two springs. Small oscillation approximation $U_{\mbox{small}}(y)$.

Source code containing interactive graph: nb

 

Blue is the exact potential, orange is the approximated potential.