function [ Stress ] = Stress_Round_Bend_m ( Diameter, Moment )
%
%  This routine computes the bending stress on a round bar.
%
%    Diameter = the diameter of the bar in mm
%    Moment = the applied moment in Newton mm
%    returns the stress in MPa

I = (pi*Diameter^4)/64;
Stress = Moment * (Diameter / 2) / I;

end

