Derivation Of Equations Of Motion In Physics