\frac {\partial f}{\partial q} \frac {\mathrm{d}q}{\mathrm{d}t} =