Knowledge Walls
Laya
Hyderabad, Andhra Pradesh, India
Math.prototype.exp() Method in Math Class of Javascript Syntax with Examples
2038 Views
Usage 
The Math.exp() function is used to return the value x power of e.
Syntax 
Math.exp(x)
Example
var a=Math.exp(9);
var b=Math.exp(2);
var c=Math.exp(1); 
var d=Math.exp(0); 
var e=Math.exp(-1);
document.write(a,b,c,d,e);
Output 
8103.0839275753815
7.3890560989306495
2.718281828459045
1
0.3678794411714424
 
Best Lessons of "Javascript Syntax with Examples"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details