Hi! I need to figure out the Lagrange Equation for a rod or nail swinging from a horizontal plane. The thing is, that while it is swinging back and forth, the while nail is moving along the X axis as well. I was thinking to use 1/2mv^2+(1/2)Iø^2 . Any help would be appreciated!! Thanks.