<?php
header('Content-Type: text/html; charset=utf-8');
define ('ROOT', $_SERVER['DOCUMENT_ROOT']);
include ROOT.'/assets/php/head.php';
$tit= '求扇形的弦长已知半径角度';
// 半径为50 ,角度为110
$val='50 110';
$img='';
//调用方法
mill($val,$img,$tit);
/**
* mill 是磨粉机的方法
* $val 传值过来计算,以空格分割成数值
* $img 自定义图片名,默认以文件名为图片名
* $tit 标题名
* */
function mill($val,$img,$tit){
//初始化
include ROOT.'/assets/php/init.php';
imgt($img,$tit);
//设置小数点保留位数
bcscale (2);
//$pi = round(pi(),2);
//以空格分割成数值
$vals = expl($val);
$r = evev($vals[0]);
$co = evev($vals[1]);
//已知条件
$know = array();
array_push($know, $val);
$v0 = eveq($vals[0]);
array_push($know, "半径:$v0");
$v1 = eveq($vals[1]);
array_push($know, "角度:$v1");
//计算步骤
$step = array();
array_push($step, "求扇形的弦长:");
array_push($step, "{$math['eq']} $r{$math['mul']}sin{$math['lpar']}$co{$math['div']}2{$math['rpar']}{$math['mul']}2");
$co2 = bcdiv($co, 2);
array_push($step, "{$math['eq']} $r{$math['mul']}sin{$math['lpar']}$co2{$math['rpar']}{$math['mul']}2");
$sinco2 = sin(deg2rad($co2));
array_push($step, "{$math['eq']} $r{$math['mul']}$sinco2{$math['mul']}2");
$rsinco2 = bcmul($r, $sinco2);
array_push($step, "{$math['eq']} $rsinco2{$math['mul']}2");
$c = bcmul($rsinco2, 2);
array_push($step, "{$math['eq']} $c");
//算出结果
$ends = array();
array_push($ends, "扇形的弦长:{$c}");
//公式表示
$home = array();
array_push($home, "扇形的弦长:c{$math['eq']}r{$math['mul']}sin{$math['lpar']}{$math['ang']}C{$math['o']}{$math['sol']}2{$math['rpar']}{$math['mul']}2");
//公式说明
$info = array();
array_push($info, "正弦(sin)等于对边比斜边;sinA=a/c;");
array_push($info, "余弦(cos)等于邻边比斜边;cosA=b/c;");
array_push($info, "正切(tan)等于对边比邻边;tanA=a/b;");
array_push($info, "余切(cot)等于邻边比对边;cotA=b/a 。");
array_push($info, "下面的方法同样可解:");
array_push($info, "100026 求三角形各边各角度已知两边夹角:https://www.cnblogs.com/onestopweb/p/16939982.html");
know($know);
ends($ends);
home($home);
step($step);
info($info);
}
?>
<?php include ROOT.'/assets/php/foot.php'; ?>
☁参考上图[22-12-08 chaoyi]
☀求扇形的弦长已知半径角度
50 110
半径:50
角度:110
♠算出结果
扇形的弦长:81.90
♥公式表示
扇形的弦长:c=r×sin(∠C°/2)×2
♣计算步骤
求扇形的弦长:
= 50×sin(110÷2)×2
= 50×sin(55.00)×2
= 50×0.81915204428899×2
= 40.95×2
= 81.90
♦公式说明
正弦(sin)等于对边比斜边;sinA=a/c;
余弦(cos)等于邻边比斜边;cosA=b/c;
正切(tan)等于对边比邻边;tanA=a/b;
余切(cot)等于邻边比对边;cotA=b/a 。
下面的方法同样可解:
100026 求三角形各边各角度已知两边夹角:https://www.cnblogs.com/onestopweb/p/16939982.html
标签:50,角度,110,100028,半径,sin,扇形
From: https://www.cnblogs.com/onestopweb/p/16966956.html