Math.exp
値の累乗を得る
構文
Math.exp(x)
引数
x=数値例文
<html>
<head>
<title>Math.exp</title>
</head>
<body>
<!--値の累乗を得るのサンプル-->
<script type="text/javascript">
document.write('1の累乗は'+Math.exp(1)+"<br>");
document.write('-1の累乗は'+Math.exp(-1)+"<br>");
document.write('5の累乗は'+Math.exp(5)+"<br>");
document.write('10の累乗は'+Math.exp(10)+"<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.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
スポンサーリンク





