where α α r = q r ¨ ¨ is an arbitrary generalized acceleration, or the second time derivative of the generalized coordinates q r , and Q r is its corresponding generalized force. The generalized force gives the work done