More Information.

Euler's Number (2.718281828459045 Approximately)



\(e = (1 + {1 \over n})^n \: as \: n \: \to \: \infty\)

n
Calculate e


e =
2.7181459268249255


Or

\(e = \sum_{i=0}^n {1 \over n!} \: as \: n \: \to \infty\)

n
Calculate e


e =
2.71828182845823




Two Ways of Calculating Euler's Number


This page shows two ways of calculating Euler's Number. The first is straightforward enough using a scientific calculator, the second is more difficult but gives a better answer. The javaScript function I use to calculate a factorial is as follows.

function fact(num) {
let fact = 1;
let i = 1;
let bin = num;
for (i = bin; i >= 1; i--){
fact = fact * i;
}
return(fact);
}