Mechanics of Materials: Axial load and thermal expansion