cos
種類
メソッド
書式
Math.cos(値)
解説
値のコサインを求めます。
サンプルコード
n = eval(prompt("Input Number",0));
alert("コサインは"+Math.cos(n)+"です");
実際のスクリプトを
ダウンロード