I am a student who is very new to mechanics. I have to calculate the Euler-Lagrangian equation for a double pendulum, which is okay. But the angle of the the second pendulum is measured with respect to the first pendulum, and not the vertical. In this case, how do I proceed? Since we need to calculate it with respect to the two angles as coordinates.

(P.E.)2=m2g(1-cos(θ1+θ2))L2 (K.E.)1=½(m1(θ1’)²L1²) (K.E.)2=½(m2(θ1+θ2)’².L2²) How do you write using Math notation? Thanks again! – Theoryofmech1912 Oct 04 '16 at 16:17