Principles of dynamics