// Math = built-in object that provides a // collection of properties and methods let x = 3; let y = 2; let z = 1; //console.log(Math.PI); //console.log(Math.E); //z = Math.round(x); //z = Math.floor(x); //z = Math.ceil(x); //z = Math.trunc(x); //z = Math.pow(x, y); //z = Math.sqrt(x); //z = Math.log(x); //z = Math.sin(x); //z = Math.cos(x); //z = Math.tan(x); //z = Math.abs(x); //z = Math.sign(x); let max = Math.max(x, y, z); let min = Math.min(x, y, z); console.log(min);
I have a question i did: let x = 90; let z; z = Math.cos(x); console.log(z) and it gives: -0.4480736161291701 but the actual value of cos(90) = 0 can you plz explain the difference b/w these values....
I have commented less times than I have fingers on one hand, however I had to say thank-you. I am very grateful for the effort you put in that helps so many learn. That helps me learn! Take care!
Thank you Bro. I have 100 over Udemy courses. The number would be a lot smaller if I had found you earlier. Your teaching is superb; it's the way I learn. What's your opinion on TypeScript? Do you use it? 🍕
// Math = built-in object that provides a
// collection of properties and methods
let x = 3;
let y = 2;
let z = 1;
//console.log(Math.PI);
//console.log(Math.E);
//z = Math.round(x);
//z = Math.floor(x);
//z = Math.ceil(x);
//z = Math.trunc(x);
//z = Math.pow(x, y);
//z = Math.sqrt(x);
//z = Math.log(x);
//z = Math.sin(x);
//z = Math.cos(x);
//z = Math.tan(x);
//z = Math.abs(x);
//z = Math.sign(x);
let max = Math.max(x, y, z);
let min = Math.min(x, y, z);
console.log(min);
I have a question
i did:
let x = 90;
let z;
z = Math.cos(x);
console.log(z)
and it gives: -0.4480736161291701
but the actual value of cos(90) = 0
can you plz explain the difference b/w these values....
I have commented less times than I have fingers on one hand, however I had to say thank-you. I am very grateful for the effort you put in that helps so many learn. That helps me learn! Take care!
Thanks, bro. You're a real bro 💪
Yooo, love ya bud, Thanks for educating me on Python, I'm probably going to learn JS
Oooo i love this and didnt know about it before thanks !!!
This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal.
Thanks bro ❤
easy thanks bro code for this beautiful course
Thank you Bro. I have 100 over Udemy courses. The number would be a lot smaller if I had found you earlier. Your teaching is superb; it's the way I learn.
What's your opinion on TypeScript? Do you use it? 🍕
The best always
Legend.
Daddy Brocode teaches me lots
top bro
🧮🧮🧮🧮🧮🧮🧮🧮🧮🧮🧮🧮🧮🧮
hey brocode
Ow so
Daddy Brocode teaches me lots