p_i=\partial L/\partial \dot{q}_i
