add values in trigonometric function

pull/118/head
Kamrul Islam Shahin 5 years ago
parent 649c7c054a
commit 7bf81befc0

@ -235,17 +235,17 @@ console.log(Math.log(10)) // 2.302585092994046
console.log(Math.LN2) // 0.6931471805599453 console.log(Math.LN2) // 0.6931471805599453
console.log(Math.LN10) // 2.302585092994046 console.log(Math.LN10) // 2.302585092994046
// Returns the natural logarithm with base 10 of x, Math.log10(x) // Returns the common logarithm with base 10 of x, Math.log10(x)
console.log(Math.log10(2)) // 0.3010299956639812 console.log(Math.log10(2)) // 0.3010299956639812
console.log(Math.log10(10)) // 1 console.log(Math.log10(10)) // 1
// Trigonometry // Trigonometry
// Returns the value in radians // Returns the value in radians
Math.sin(0) Math.sin(0) // 0
Math.sin(60) Math.sin(60) // -0.3048106211
Math.cos(0) Math.cos(0) // 1
Math.cos(60) Math.cos(60) // -0.95241298041
``` ```
#### Random Number Generator #### Random Number Generator

Loading…
Cancel
Save