Compute the elastic potential energy stored in a compressed or stretched spring from its stiffness and displacement.
彈簧形變儲存的彈性勢能。