diff --git a/02_Day_Data_types/02_day_data_types.md b/02_Day_Data_types/02_day_data_types.md index 0e82901..5f8d186 100644 --- a/02_Day_Data_types/02_day_data_types.md +++ b/02_Day_Data_types/02_day_data_types.md @@ -235,17 +235,17 @@ console.log(Math.log(10)) // 2.302585092994046 console.log(Math.LN2) // 0.6931471805599453 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(10)) // 1 // Trigonometry // Returns the value in radians -Math.sin(0) -Math.sin(60) +Math.sin(0) // 0 +Math.sin(60) // -0.3048106211 -Math.cos(0) -Math.cos(60) +Math.cos(0) // 1 +Math.cos(60) // -0.95241298041 ``` #### Random Number Generator