Introduction to the principles of mechanics