Modern Methods of Mechanics