tripplePendulumDerivationLagrange