Solids tend to expand when heated. The amount that a solid sample will expand with increased temperature depends on the…