When mechanical and structural engineers design machines, bridges, and buildings, they calculate loads, stresses, and deformation of metal, steel, concrete, glass, wood, and plastic to find the optimal geometry that bears loads with the minimum cost of material.