Simply Supported Beam - Concentrated Load At Center

"); $lgt=$_REQUEST['lgt']; $totload=$_REQUEST['totload']; $mi=$_REQUEST['mi']; $xdis=$_REQUEST['xdis']; if($lgt<=0) { $lgt="0"; } echo("Length of Beam: "); echo(" inches".NL); echo(NL); if($totload<=0) { $totload="0"; } echo("Concentrated Load: "); echo(" kips".N2L); if($mi<=0) { $mi="0"; } echo("Moment of Inertia: " ); echo(" inches4".N2L); if($xdis<=0) { $xdis="0"; } echo("Distance \"x\" from end of beam (not required): " ); echo(" inches".N2L); echo ("
"); if(!$totload or !$lgt) { //If no numbers have been entered, don't do anything. }elseif($xdis>=$lgt) { echo ("\"X\" distance must be less than the beam length"); }else { $react=$totload/2; echo("Reaction at each end = ".number_format($react,3)." kips.".NL); $mmax=$totload*$lgt/4; echo("Maximum Moment (at point of load) = ".number_format($mmax,3)." kip-inches.".NL); if($xdis) { $matx=$totload*$xdis/2; echo("Moment at distance \"x\" from end of beam = ".number_format($matx,3)." kip-inches.".NL); } If($mi>0) { $maxdef=$totload*pow($lgt,3)/(48*29000*$mi); echo("Maximum Deflection (at center) = ".number_format($maxdef,3)." inches.".NL); if($xdis) { $defatx=$totload*$xdis*((3*pow($lgt,2))-(4*pow($xdis,2)))/(48*29000*$mi); echo("Deflection at distance \"x\" from end of beam = ".number_format($defatx,3)." inches.".NL); } } else { echo("You must enter a moment of inertia value to calculate deflection"); } } ?>
Calculations Index Circle Calc. Rectangular Calc. Home