
Before proceeding, let's review the sign convention used for plotting bending- moment diagrams.
A positive bending moment is defined as:

To compute maximum tension bending stresses at locations having positive bending moment, the distance y used in the flexure formula is the distance from the neutral surface to the bottom of the cross section.