//For Future Reference z = Math; z = Math.PI; z = Math.E; z = Math.round(5.4); z = Math.ceil(5.3); z = Math.floor(-5.3); z = Math.abs(5); z = Math.sqrt(64); z = Math.pow(2, 3); z = Math.min(2, 3, 34); z = Math.max(2, 3, 34); z = Math.random(); console.log(z);
because we have added 50 to the previous z which is 100*math.random(). now we will get numbers b/w 50 to 150. that's why we subtract 50 so that it becomes 50*math.random(). now when we add 50 it will become (50,100)..
lets say I want a number btw 10 to 100 lowerLimiit = 10 and upperLimit = 100 lowerLimit + random(upperLimit - lowerLimit) ex: 10 + (100 - 10) * Math.random();
22 tute program mera run nahi ho raha he, kyoki mene new bootstrap mese code liya he, kis ko new bootstrap me se liya hua code run ho gaya ho to please muje batao, please
Formula For Generating Random Numbers formula_random = starting_range + (end_range - starting_range) * Math.random(); Example let starting_range = 10; let end_range =20; let formula_random = starting_range + (end_range - starting_range) * Math.random(); console.log(formula_random);
z= Math.round(100 * Math.random()); console.log(z); let elm = document.getElementById("ltr"); elm.innerHTML = `The Lottery Number is ${z} ` z=Math.max(73,45,76,8,4,3,5) console.log(z);
Can someone tell me how can I include html file in other html file. In the previous video we created a project I want to include bootstrap in main index file and include the main file to project1 folder.
15:00 harry vai agar round() use kiya jaye to , 99.5 to 99.99 tak 100 ane ki chance thi, lekin ceil() sirf z=50 aya random me , tabhi 50 dega, warna, 51 😅😅😅😅
There are mistakes in the website for this video. There are notes about date object instead of math object on the website and vice versa for the Date object notes.
Congratulations for 61k. Per day 500 subs. Nice. Happy for you bhai ❤️
sir that time 61k & now 1mil over!
Now, Sir has above 2M Subscribers
@@amarnathprajapati2543 3+ million 😜
Now 4.3M +❤
I admire your teaching style Sachi mein boht unique hai..
I guess......he is from IIT :)
@@mailtodanish yes
You are the rohan das jiska naam bar bar use hota h video's mein
@@neerajgoswami2897 rohan das mil gya
You are best teacher
I m function up student nd its better than Anything 🤘
MashaaAllah Aameen 🙏 😍 🤲
//For Future Reference
z = Math;
z = Math.PI;
z = Math.E;
z = Math.round(5.4);
z = Math.ceil(5.3);
z = Math.floor(-5.3);
z = Math.abs(5);
z = Math.sqrt(64);
z = Math.pow(2, 3);
z = Math.min(2, 3, 34);
z = Math.max(2, 3, 34);
z = Math.random();
console.log(z);
Hope it will help someone
You can also suggest me thanks!
let randomNumber = Math.floor(Math.random() * 50 + 1);
document.write(randomNumber);
Amazing JavaScript Course 🥳🥳🥳
a=10
Formula for 10 to 100 random numbers:
10 + a*(100-10)
= 10 + 100a - 10a
= 10 + 100(0,1) - 10(0,1)
= 10 + (0,100) - (0,10)
= 10 + (0,90)
= (10,100)
Hence proved...😁
But 100 toh exclusive hai na
Means its 10 to 99
@@amansharma6996 99.1 bhi huva toh ceil ka use kiya hai vo 100 ho jayegaa
Congratulations Harry bahi ,for 2 million
thank you harry vai
This is really amazing thing and mind blowing!
simple formula is
LET VARIABLE= STRAT_VALUE +(END_VALUE - START_VALUE)*MATH.RANDOM()
Thank you bhai ❤️
Nice video sir
fantastic very well explained math function ...
harry vai, humlog college me pouchke e tutorial dekh rahe he, thora math ap bata sakte ho🥰🥰 line 16 box function🤩🤩
thank you harry sir
realy nice video
16:00min
Done done
Again
// lets say I want a number btw 10 to 100 lowerLimiit = 10 and upperLimit = 100
// lowerLimit + random(upperLimit - lowerLimit)
// ex: 10 + (100 - 10) * Math.random();
node.js ka tutorial chahiye Harry bhai.....
please as soon as possible
and thank you for this lovely tutorials......
Already banaya hai sir ne...web development series me dekho jaker👍
agaya
best
love to learn
2:39 the output will be undefine ;)
Sir agar issi m ham button use kre when someone click on it then start timer randomly if timer 0 then do some task so isse kese kre pls bta do
harry bhai kya ye series python ki series jysi hogi. i mean 100+ video and projects
nahi hue
Harry bhai please make coding app for Android.👍🙏🙏🙏🙏
bana diya
💙
Osm
Can someone explain this 100-50 part
As 100-50 makes it 50 so how it picks value between 50 and 100?
because we have added 50 to the previous z which is 100*math.random(). now we will get numbers b/w 50 to 150. that's why we subtract 50 so that it becomes 50*math.random(). now when we add 50 it will become (50,100)..
How to use x^n in javascript?
z = math.pow(x, n); say u got z = math.pow(2, 3); then z= 8 ok
@@gauravparihar6962 Thanks
lets say I want a number btw 10 to 100 lowerLimiit = 10 and upperLimit = 100
lowerLimit + random(upperLimit - lowerLimit)
ex: 10 + (100 - 10) * Math.random();
Binery no kaise print hoga??
bhai ji aapke vs code ka color theme konsa hai ?
Coding ke lie kam kaha se milta h konsi sight se
sir data structure kab shuru honga??
22 tute program mera run nahi ho raha he, kyoki mene new bootstrap mese code liya he, kis ko new bootstrap me se liya hua code run ho gaya ho to please muje batao, please
Yaa bro mera hogya hai....
Formula For Generating Random Numbers
formula_random = starting_range + (end_range - starting_range) * Math.random();
Example
let starting_range = 10;
let end_range =20;
let formula_random = starting_range + (end_range - starting_range) * Math.random();
console.log(formula_random);
Sir please unity 3d ke video banaye jese Movement. fight other
Bhai tkinter me date kaise pick krte hai entry box me. Please bta do yr 🙏
Using datetime module..
Harry bhai . project 1 watced 70,000+ people, but this video watch only 15,000. do you notice that??
z= Math.round(100 * Math.random());
console.log(z);
let elm = document.getElementById("ltr");
elm.innerHTML = `The Lottery Number is ${z} `
z=Math.max(73,45,76,8,4,3,5)
console.log(z);
sir how can we host a website?
Harry bro notesapp wli website ko host kese krenge pls btaa do bhai
bhai you learn complet js
Bhai ham python install Kyu karte hai command prompt me se programing nhi kar sakte Kya??
😂😂
math.trunc vi hai sir
14:28
Why cant we directly write 50 there??☹️🤔🤔🤔🤔
Bodmas Ki vajah se..
1k Likes and only 4 dislikes ..... His content is +++++++++++++
4 dislike wale batau kon hai
WHITEHAT JR
Can someone tell me how can I include html file in other html file.
In the previous video we created a project I want to include bootstrap in main index file and include the main file to project1 folder.
15:00 harry vai agar round() use kiya jaye to , 99.5 to 99.99 tak 100 ane ki chance thi, lekin ceil() sirf z=50 aya random me , tabhi 50 dega, warna, 51 😅😅😅😅
unexpected
Sir Plzz sagitttion buy the .....Laptop 35 k...any one
There are mistakes in the website for this video. There are notes about date object instead of math object on the website and vice versa for the Date object notes.
First
Let cardTxt = element.getElementsByTagName("p")[0].innerText; didn't get this line can someone help out with this
MashaaAllah Aameen 🙏 😍 🤲
Sir Plzz sagitttion buy the .....Laptop 35 k...any one
MashaaAllah Aameen 🙏 😍 🤲
MashaaAllah Aameen 🙏 😍 🤲