Math.atan

逆正接を得る

構文

Math.atan(x)

引数

x=数値

例文

<html>
<head>
<title>Math.atan</title>
</head>

<body>

<!--逆正接を得るのサンプル-->
<script type="text/javascript">
document.write('0.50の逆正接は'+Math.atan(0.50)+"です<br>");
document.write('-0.50の逆正接は'+Math.atan(-0.50)+"です<br>");
document.write('5の逆正接は'+Math.atan(5)+"です<br>");
document.write('10の逆正接は'+Math.atan(10)+"です<br>");
document.write('-5の逆正接は'+Math.atan(-5)+"です<br>");
document.write('-10の逆正接は'+Math.atan(-10)+"です<br>");
</script>

</body>
</html>

関連記事

スポンサーリンク

テキスト文字を傾けたときの文字の崩れを修正する

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る