Simply Supported Beam - Uniformly Distributed Load

"); # Added this section - SG 2004-11-01 $lgt=$_REQUEST['lgt']; $kpi=$_REQUEST['kpi']; $mi=$_REQUEST['mi']; $xdis=$_REQUEST['xdis']; # End of added section if($lgt<=0) { $lgt="0"; } echo("Length of Beam: inches".N2L); if($kpi<=0) { $kpi="0"; } echo("Uniform Load: kips per inch".N2L); if($mi<=0) { $mi="0"; } echo("Moment of Inertia: inches4".N2L); if($xdis<=0) { $xdis="0"; } echo("Distance \"x\" from end of beam (not required): inches".N2L); echo ("
"); if(!$kpi 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 { $totload=$lgt*$kpi; $react=$totload/2; if($totload >= 2) { echo("The total load on this beam = ".number_format($react ,2)." tons.".NL); } else { echo("The total load on this beam = ".number_format($totload*1000,2)." pounds.".NL); } echo("Reaction at each end = ".number_format($react,3)." kips.".NL); if($xdis) { $vs=$kpi*(($lgt/2)-$xdis); if($vs<0) { $vs=$vs*-1; // keep it from being a negative number } echo("Vertical shear at distance \"x\" from end of beam = ".number_format($vs,3)." kips.".NL); } $mmax=$kpi*pow($lgt/1,2)/8; echo("Maximum Moment (at center) = ".number_format($mmax,3)." kip-inches.".NL); if($xdis) { $matx=$kpi*$xdis*($lgt-$xdis)/2; echo("Moment at distance \"x\" from end of beam = ".number_format($matx,3)." kip-inches.".NL); } If($mi>0) { $maxdef=5*$kpi*pow($lgt,4)/(384*29000*$mi); echo("Maximum Deflection (at center) = ".number_format($maxdef,3)." inches.".NL); if($xdis) { $defatx=$kpi*$xdis*((pow($lgt,3))-(2*$lgt*$xdis*$xdis)+($xdis*$xdis*$xdis))/(24*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