Fuente TeX:
\frac{d}{dt}(\frac{1}{2}m\ell^2 \dot{\theta}^2)=\frac{d}{d \dot{\theta}}(\frac{1}{2}m\ell^2\dot{\theta}^2)\ddot{\theta}=m\ell^2\dot{\theta}\ddot{\theta}