Math.acos
逆余弦を得る
構文
Math.acos(x)
引数
x=数値例文
<html>
<head>
<title>Math.acos</title>
</head>
<body>
<!--逆余弦を得るのサンプル-->
<script type="text/javascript">
document.write('0.55の逆余弦は'+Math.acos(0.55)+"です<br>");
document.write('0の逆余弦は'+Math.acos(0)+"です<br>");
document.write('-1の逆余弦は'+Math.acos(-1)+"です<br>");
document.write('1の逆余弦は'+Math.acos(1)+"です<br>");
document.write('2の逆余弦は'+Math.acos(2)+"です<br>");
</script>
</body>
</html>
関連記事
- Math.tan
 - Math.atan2
 - Math.sqrt
 - Math.sin
 - Math.round
 - Math.random
 - Math.pow
 - Math.min
 - Math.max
 - Math.log
 - Math.floor
 - Math.exp
 - Math.cos
 - Math.ceil
 - Math.atan
 - Math.asin
 - Math.abs
 - Math.SQRT2
 - Math.SQRT1_2
 - Math.PI
 - Math.LOG2E
 - Math.LOG10E
 - Math.LN2
 - Math.LN10
 - Math.E
 
スポンサーリンク





