\frac{d}{dt}\left(\frac{\partial L}{\partial\dot{\vec{r}}}\dot{\vec{r}}-L\right)=0