Solve for k U=1/2kx^2