A beam is a structural element that primarily resists the loads applied to the beam’s axis. The total effects of…