# Determining the Maximum Bending Stress in a Shaft

## Formula for Bending Stress Calculation

**The bending stress in a shaft can be determined by using the formula σ = (M * c) / I**, where σ is the bending stress, M is the bending moment, c is the distance from the neutral axis to the outermost fiber, and I is the moment of inertia.

## Calculating Moment of Inertia

For a solid cylindrical shaft, **the moment of inertia can be calculated using the formula I = (π/4) * (r_outer^4 - r_inner^4)**, where r_outer and r_inner are the outer and inner radii of the shaft, respectively. Once the moment of inertia is determined, it can be used in the bending stress formula to calculate the maximum bending stress.