Math.tan
正接を得る
構文
Math.tan(x)
引数
x=数値例文
<html> <head> <title>Math.tan</title> </head> <body> <!--正接を得るのサンプル--> <script type="text/javascript"> document.write('0.50の正接(tan)は'+Math.tan(0.50)+"です<br>"); document.write('-0.50の正接(tan)は'+Math.tan(-0.50)+"です<br>"); document.write('5の正接(tan)は'+Math.tan(5)+"です<br>"); document.write('10の正接(tan)は'+Math.tan(10)+"です<br>"); document.write('-5の正接(tan)は'+Math.tan(-5)+"です<br>"); document.write('-10の正接(tan)は'+Math.tan(-10)); </script> </body> </html>
関連記事
- 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.acos
- Math.abs
- Math.SQRT2
- Math.SQRT1_2
- Math.PI
- Math.LOG2E
- Math.LOG10E
- Math.LN2
- Math.LN10
- Math.E
スポンサーリンク