(演算)
atan
アークタンジェントを求めます
書式
Math.atan(★)
★=数値 または 数式
文例
a = Math.atan(45*3.14/180)
a = Math.atan(Sita*3.14/180)
上位オブジェクト
Math
説明
アークタンジェントを求めます。値は-1〜1の範囲で指定します。結果はラジアンで返されます。値が範囲を超えている場合にはNaN (Not a Number:数字ではない)を返します。
関連
acos
,
asin
,
atan2
,
cos
,
sin
,
tan
サンプル1
サンプル2(Dreamcast用)