Fundamentals of Mechanics and Heat