Basic Mechanics and Thermodynamics