Mechanics and mathematical methods