How do fundamental principles in mechanical engineering, rooted in physics and mathematics, form the theoretical framework for various industrial applications? Discuss the significance of mechanics, thermodynamics, and materials science in designing machinery, structures, and systems. Explore how mechanical engineers optimize performance, durability, and safety through the integration of theoretical understanding with practical applications. Additionally, elaborate on advancements in computational modeling, materials technology, and automation, and their impact on driving innovation within the field.