Solve for x U=1/2kx^2