Discuss the principles of structural analysis in mechanical engineering. How do engineers assess the strength, stiffness, and stability of structures under various loading conditions?