Baseline Widely available
Math.E
ì ì ë°ì´í° ìì±ì ì¤ì¼ë¬ ì를 ì미íë©°, ìì°ë¡ê·¸ì ë° ê° e를 ëíë´ë©° ì½ 2.718ì ê°ì ê°ì§ëë¤.
function compoundOneYear(interestRate, currentVal) {
return currentVal * Math.E ** interestRate;
}
console.log(Math.E);
// Expected output: 2.718281828459045
console.log((1 + 1 / 1000000) ** 1000000);
// Expected output: 2.718280469 (approximately)
console.log(compoundOneYear(0.05, 100));
// Expected output: 105.12710963760242
ê° ð¼ððð.ð´ = e â 2.718 \mathtt{Math.E} = e \approx 2.718 ì°ê¸° ê°ë¥ ë¶ê°ë¥ ì´ê±° ê°ë¥ ë¶ê°ë¥ ì¤ì ê°ë¥ ë¶ê°ë¥ ì¤ëª
E
ë Math
ì ì ì ìì±ì´ë¯ë¡, ìì±í Math
ê°ì²´(Math
ë ìì±ìê° ìëëë¤)ì ìì± ëì íì Math.E
를 ì¬ì©í´ì¼ í©ëë¤.
Math.E
ì¬ì©í기
ë¤ì í¨ìë e ê°ì ë°íí©ëë¤.
function getNapier() {
return Math.E;
}
getNapier(); // 2.718281828459045
ëª
ì¸ì ë¸ë¼ì°ì í¸íì± ê°ì´ 보기
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4