function [A,I,Mmax,Vmax,deltaMax,sigmaMax_Bending,sigmaMax_Shear] = SimplySupportedBeamCalcuations(F,L,b,h,t,E)
%Function to compute the maximum bending moment, shear force, deflection,
%and stress for a beam simply supported at the ends subject to a specified
%force in the center

%Units:
% F [lbs]
% L,b,h,t [inches]
% E [psi]

%Mmax [in-lb]
%Vmax [lb]
%Deltamax [in]
%I in^4

I = ((b*(h^3))-(b-2*t)*((h-2*t)^3))/12;
A = b*h-(b-2*t)*(h-2*t);

Vmax = F/2;
Mmax = F*L/4;

deltaMax = -F*L^3/(48*E*I);
sigmaMax_Bending = Mmax*(h/2)/I;
sigmaMax_Shear = Vmax/A;

end

