Variational Principles of Continuum Mechanics with Engineering Applications: Introduction to Optimal Design Theory