solution to problem eight in mechanics of materials 3733646