Simply Supported Beam - Concentrated Load At Any Point

"); $lgt=$_REQUEST['lgt']; $totload=$_REQUEST['totload']; $dim_a=$_REQUEST['dim_a']; $mi=$_REQUEST['mi']; $xdis=$_REQUEST['xdis']; if($lgt<=0) { $lgt="0"; } echo("Length of Beam: "); echo(" inches".N2L); //echo(NL); if($totload<=0) { $totload="0"; } echo("Concentrated Load: "); echo(" kips".N2L); if($dim_a<=0) { $dim_a="0"; } echo("\"a\" Dimension: "); echo(" inches".N2L); $dim_b=$lgt-$dim_a; 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 or !$dim_a) { //If no numbers have been entered, don't do anything. }elseif($xdis>=$lgt) { echo ("\"x\" distance must be less than the beam length"); }else { $eqtab=8*$totload*$dim_a*$dim_b/pow($lgt,2); echo ("Equivalent Tabular Load = ".number_format($eqtab,2)." kips.".NL); $react1=$totload*$dim_b/$lgt; echo(" Reaction R1 = ".number_format($react1,3)." kips.".NL); $react2=$totload-$react1; echo("Reaction R2 = ".number_format($react2,3)." kips.".NL); $mmax=$totload*$dim_a*$dim_b/$lgt ; echo("Maximum Moment (at point of load) = ".number_format($mmax,3)." kip-inches.".NL); if($xdis) { $matx=$totload*$xdis*$dim_b/$lgt; echo("Moment at distance \"x\" (when x < a) = ".number_format($matx,3)." kip-inches.".NL); } $dim_y=sqrt($dim_a*($dim_a+(2*$dim_b))/3); echo ("Point of Maximum deflection \"y\" = ".number_format($dim_y,2)." inches.".NL); If($mi>0) { $maxdef=$totload*$dim_a*$dim_b*($dim_a+($dim_b*2))*sqrt(3*$dim_a*($dim_a+(2*$dim_b)))/(27*29000*$mi*$lgt); echo("Maximum Deflection (at \"y\") = ".number_format($maxdef,3)." inches.".NL); $defata=$totload*pow($dim_a,2)*pow($dim_b,2)/(3*29000*$mi*$lgt); echo("Deflection at point of load (\"a\") = ".number_format($defata,3)." inches.".NL); if($xdis) { $defatx=$totload*$xdis*$dim_b*(pow($lgt,2)-pow($dim_b,2)-pow($xdis,2))/(6*29000*$mi*$lgt); 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