首页 > 其他分享 >200006 计算楼梯混凝土方量已知踏步宽高步数和梯板宽高

200006 计算楼梯混凝土方量已知踏步宽高步数和梯板宽高

时间:2022-12-12 23:45:26浏览次数:92  
标签:200006 斜长 踏步 宽高 梯板 1450 楼梯 体积

点击查看代码
<?php
header('Content-Type: text/html; charset=utf-8');
define ('ROOT', $_SERVER['DOCUMENT_ROOT']);
include ROOT.'/assets/php/head.php';

$tit= '计算楼梯混凝土方量已知踏步宽高步数和梯板宽高';
//踏步宽280 高150 步数4,梯板宽1450 高120
$val='280 150 4 1450 120';
$img='';

//调用方法
mill($val,$img,$tit);

//mill 是磨粉机的方法
function mill($val,$img,$tit){
    //初始化
    include ROOT.'/assets/php/init.php';
    imgt($img,$tit);

    //设置小数点保留位数 
    bcscale (2);
    //$pi = round(pi(),2);
    
    //以空格分割成数值
    $vals = expl($val);
    $b1 = evev($vals[0]);
    $h1 = evev($vals[1]);
    $n = evev($vals[2]);
    $b2 = evev($vals[3]);
    $h2 = evev($vals[4]);

    //已知条件
    $know = array();
    array_push($know, $val);
    $v0 = eveq($vals[0]);
    array_push($know, "踏步宽:$v0{$unit['mm']}");
    $v1 = eveq($vals[1]);
    array_push($know, "踏步高:$v1{$unit['mm']}");
    $v2 = eveq($vals[2]);
    array_push($know, "踏步数:$v2");
    $v3 = eveq($vals[3]);
    array_push($know, "梯板宽:$v3{$unit['mm']}");
    $v4 = eveq($vals[4]);
    array_push($know, "梯板高:$v4{$unit['mm']}");

    //计算步骤
    $step = array();
    array_push($step, "计算梯板斜长:");
    array_push($step, "{$math['eq']} {$math['root2l']}{$math['lpar']}$b1{$math['mul']}$n{$math['rpar']}{$math['sup2']}{$math['add']}{$math['lpar']}$h1{$math['mul']}$n{$math['rpar']}{$math['sup2']}{$math['root2r']}");
    $b1n = bcmul($b1, $n);
    $h1n = bcmul($h1, $n);
    array_push($step, "{$math['eq']} {$math['root2l']}$b1n{$math['sup2']}{$math['add']}$h1n{$math['sup2']}{$math['root2r']}");
    $b1n2 = bcpow($b1n, 2);
    $h1n2 = bcpow($h1n, 2);
    array_push($step, "{$math['eq']} {$math['root2l']}$b1n2{$math['add']}$h1n2{$math['root2r']}");
    $b1n2h1n2 = bcadd($b1n2, $h1n2);
    array_push($step, "{$math['eq']} {$math['root2l']}$b1n2h1n2{$math['root2r']}");
    $c = bcsqrt($b1n2h1n2);
    array_push($step, "{$math['eq']} $c{$unit['mm']}");

    array_push($step, "计算踏步体积:");
    array_push($step, "{$math['eq']} {$math['lpar']}$b1{$math['mul']}$h1{$math['div']}2{$math['rpar']}{$math['mul']}$n{$math['mul']}$b2");
    $b1h1 = bcmul($b1, $h1);
    array_push($step, "{$math['eq']} {$math['lpar']}$b1h1{$math['div']}2{$math['rpar']}{$math['mul']}$n{$math['mul']}$b2");
    $b1h12 = bcdiv($b1h1, 2);
    array_push($step, "{$math['eq']} $b1h12{$math['mul']}$n{$math['mul']}$b2");
    $b1h12n = bcmul($b1h12, $n);
    array_push($step, "{$math['eq']} $b1h12n{$math['mul']}$b2");
    $V1 = bcmul($b1h12n, $b2);
    array_push($step, "{$math['eq']} $V1{$unit['mm3']}");
    $V1m3 = bcdiv($V1, 1000000);
    array_push($step, "{$math['eq']} $V1m3{$unit['m3']}");

    array_push($step, "计算梯板体积:");
    array_push($step, "{$math['eq']} $c{$math['mul']}$h2{$math['mul']}$b2");
    $ch2 = bcmul($c, $h2);
    array_push($step, "{$math['eq']} $ch2{$math['mul']}$b2");
    $V2 = bcmul($ch2, $b2);
    array_push($step, "{$math['eq']} $V2{$unit['mm3']}");
    $V2m3 = bcdiv($V2, 1000000);
    array_push($step, "{$math['eq']} $V2m3{$unit['m3']}");

    array_push($step, "计算楼梯体积:");
    array_push($step, "{$math['eq']} $V1{$math['add']}$V2");
    $V = bcadd($V1, $V2);
    array_push($step, "{$math['eq']} $V{$unit['mm3']}");
    $Vm3 = bcdiv($V, 1000000);
    array_push($step, "{$math['eq']} $Vm3{$unit['m3']}");


    //算出结果
    $ends = array();
    array_push($ends, "梯板斜长:$c{$unit['mm']}");
    array_push($ends, "踏步体积:$V1m3{$unit['m3']}");
    array_push($ends, "梯板体积:$V2m3{$unit['m3']}");
    array_push($ends, "楼梯体积:$Vm3{$unit['m3']}");

    //公式表示
    $home = array();
    array_push($home, "梯板斜长:c梯板{$math['eq']}{$math['root2l']}{$math['lpar']}b踏步{$math['mul']}n{$math['rpar']}{$math['sup2']}{$math['add']}{$math['lpar']}h踏步{$math['mul']}n{$math['rpar']}{$math['sup2']}{$math['root2r']}");
    array_push($home, "踏步体积:V踏步{$math['eq']}{$math['lpar']}b踏步{$math['mul']}h踏步{$math['div']}2{$math['rpar']}{$math['mul']}n{$math['mul']}b梯板");
    array_push($home, "梯板体积:V梯板{$math['eq']}c梯板{$math['mul']}h梯板{$math['mul']}b梯板");
    array_push($home, "楼梯体积:V楼梯{$math['eq']}V踏步{$math['add']}V梯板");

    //解释说明
    $info = array();
    array_push($info, "梯板斜长 {$math['eq']} {$math['root2l']}{$math['lpar']} 踏步宽 {$math['mul']} 跳步个数 {$math['rpar']}{$math['sup2']} {$math['add']} {$math['lpar']} 踏步高 {$math['mul']} 跳步个数 {$math['rpar']}{$math['sup2']}{$math['root2r']}。");
    array_push($info, "踏步体积 {$math['eq']} {$math['lpar']} 踏步宽 {$math['mul']} 踏步高 {$math['div']} 2 {$math['rpar']}{$math['mul']}n{$math['mul']}梯板宽");
    array_push($info, "梯板体积 {$math['eq']} 梯板斜长 {$math['mul']} 梯板高 {$math['mul']} 梯板宽");
    array_push($info, "楼梯体积 {$math['eq']} 踏步体积 {$math['add']} 梯板体积");

    know($know);
    ends($ends);
    home($home);
    step($step);
    info($info);
}
?>
<?php include ROOT.'/assets/php/foot.php';
//写下笔记
$note = array();
note($note);
?>

☁参考上图[22-12-12 chaoyi]

☀计算楼梯混凝土方量已知踏步宽高步数和梯板宽高
280 150 4 1450 120  
踏步宽:280㎜  
踏步高:150㎜  
踏步数:4  
梯板宽:1450㎜  
梯板高:120㎜  

♠算出结果  
梯板斜长:1270.59㎜  
踏步体积:121.80m³  
梯板体积:221.08m³  
楼梯体积:342.88m³  

♥公式表示  
梯板斜长:c梯板=√₍(b踏步×n)²+(h踏步×n)²₎  
踏步体积:V踏步=(b踏步×h踏步÷2)×n×b梯板  
梯板体积:V梯板=c梯板×h梯板×b梯板  
楼梯体积:V楼梯=V踏步+V梯板  

♣计算步骤  
计算梯板斜长:  
= √₍(280×4)²+(150×4)²₎  
= √₍1120.00²+600.00²₎  
= √₍1254400.00+360000.00₎  
= √₍1614400.00₎  
= 1270.59㎜  
计算踏步体积:  
= (280×150÷2)×4×1450  
= (42000.00÷2)×4×1450  
= 21000.00×4×1450  
= 84000.00×1450  
= 121800000.00㎜³  
= 121.80m³  
计算梯板体积:  
= 1270.59×120×1450  
= 152470.80×1450  
= 221082660.00㎜³  
= 221.08m³  
计算楼梯体积:  
= 121800000.00+221082660.00  
= 342882660.00㎜³  
= 342.88m³  

♦公式说明  
梯板斜长 = √₍( 踏步宽 × 跳步个数 )² + ( 踏步高 × 跳步个数 )²₎。  
踏步体积 = ( 踏步宽 × 踏步高 ÷ 2 )×n×梯板宽  
梯板体积 = 梯板斜长 × 梯板高 × 梯板宽  
楼梯体积 = 踏步体积 + 梯板体积  

标签:200006,斜长,踏步,宽高,梯板,1450,楼梯,体积
From: https://www.cnblogs.com/onestopweb/p/16977464.html

相关文章