Math Object In JavaScript | JavaScript Tutorial In Hindi #23

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 87

  • @shivambhardwaj9009
    @shivambhardwaj9009 5 ปีที่แล้ว +23

    Congratulations for 61k. Per day 500 subs. Nice. Happy for you bhai ❤️

  • @RohanDasRD
    @RohanDasRD 5 ปีที่แล้ว +7

    I admire your teaching style Sachi mein boht unique hai..

    • @mailtodanish
      @mailtodanish 5 ปีที่แล้ว +1

      I guess......he is from IIT :)

    • @gururaj2199
      @gururaj2199 4 ปีที่แล้ว

      @@mailtodanish yes

    • @neerajgoswami2897
      @neerajgoswami2897 4 ปีที่แล้ว +2

      You are the rohan das jiska naam bar bar use hota h video's mein

    • @TabishJamalV
      @TabishJamalV 4 ปีที่แล้ว +1

      @@neerajgoswami2897 rohan das mil gya

  • @himanshukumar4432
    @himanshukumar4432 5 ปีที่แล้ว +2

    You are best teacher

  • @rahulsinghparihar1056
    @rahulsinghparihar1056 2 ปีที่แล้ว

    I m function up student nd its better than Anything 🤘

  • @webylancers5607
    @webylancers5607 2 ปีที่แล้ว +1

    MashaaAllah Aameen 🙏 😍 🤲

  • @gabbarsingh6562
    @gabbarsingh6562 2 ปีที่แล้ว +2

    //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);

  • @MohammedSalman-qv7cg
    @MohammedSalman-qv7cg 4 ปีที่แล้ว +7

    Hope it will help someone
    You can also suggest me thanks!
    let randomNumber = Math.floor(Math.random() * 50 + 1);
    document.write(randomNumber);

  • @rajusheoran4
    @rajusheoran4 2 ปีที่แล้ว

    Amazing JavaScript Course 🥳🥳🥳

  • @ashishgupta7849
    @ashishgupta7849 4 ปีที่แล้ว +21

    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...😁

    • @amansharma6996
      @amansharma6996 4 ปีที่แล้ว

      But 100 toh exclusive hai na
      Means its 10 to 99

    • @sudhanshugautam425
      @sudhanshugautam425 2 ปีที่แล้ว

      @@amansharma6996 99.1 bhi huva toh ceil ka use kiya hai vo 100 ho jayegaa

  • @adhyatmjain5360
    @adhyatmjain5360 3 ปีที่แล้ว

    Congratulations Harry bahi ,for 2 million

  • @factzandcode
    @factzandcode 2 ปีที่แล้ว

    thank you harry vai

  • @amjadhussain3258
    @amjadhussain3258 2 ปีที่แล้ว

    This is really amazing thing and mind blowing!

  • @itishkumarpati1810
    @itishkumarpati1810 2 ปีที่แล้ว

    simple formula is
    LET VARIABLE= STRAT_VALUE +(END_VALUE - START_VALUE)*MATH.RANDOM()

  • @msbasera
    @msbasera 2 ปีที่แล้ว

    Thank you bhai ❤️

  • @himanshukumar4432
    @himanshukumar4432 5 ปีที่แล้ว +2

    Nice video sir

  • @sushilprajapati2234
    @sushilprajapati2234 4 ปีที่แล้ว

    fantastic very well explained math function ...

  • @factzandcode
    @factzandcode 2 ปีที่แล้ว

    harry vai, humlog college me pouchke e tutorial dekh rahe he, thora math ap bata sakte ho🥰🥰 line 16 box function🤩🤩

  • @vikaschauhan-rv6fi
    @vikaschauhan-rv6fi 3 ปีที่แล้ว

    thank you harry sir

  • @TeachCoders
    @TeachCoders 3 ปีที่แล้ว

    realy nice video

  • @princesukhala7106
    @princesukhala7106 2 ปีที่แล้ว

    16:00min
    Done done
    Again

  • @harshitverma2707
    @harshitverma2707 2 ปีที่แล้ว +2

    // 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();

  • @sumansaha9824
    @sumansaha9824 5 ปีที่แล้ว

    node.js ka tutorial chahiye Harry bhai.....
    please as soon as possible
    and thank you for this lovely tutorials......

    • @ashishgupta7849
      @ashishgupta7849 4 ปีที่แล้ว

      Already banaya hai sir ne...web development series me dekho jaker👍

    • @anantchandak9574
      @anantchandak9574 3 ปีที่แล้ว

      agaya

  • @boringraj1341
    @boringraj1341 3 ปีที่แล้ว

    best

  • @manantyagi6905
    @manantyagi6905 3 ปีที่แล้ว

    love to learn

  • @Krenil.
    @Krenil. 3 ปีที่แล้ว

    2:39 the output will be undefine ;)

  • @arbatheindiangamer
    @arbatheindiangamer 2 ปีที่แล้ว

    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

  • @rockybhai-cn3qw
    @rockybhai-cn3qw 5 ปีที่แล้ว

    harry bhai kya ye series python ki series jysi hogi. i mean 100+ video and projects

  • @FightAgainstMathsFear
    @FightAgainstMathsFear 4 ปีที่แล้ว +1

    Harry bhai please make coding app for Android.👍🙏🙏🙏🙏

  • @CoderHarsh
    @CoderHarsh 2 ปีที่แล้ว

    💙

  • @SuryanshSingh-f8d
    @SuryanshSingh-f8d 5 ปีที่แล้ว

    Osm

  • @BachonKiDuniya307
    @BachonKiDuniya307 2 ปีที่แล้ว

    Can someone explain this 100-50 part
    As 100-50 makes it 50 so how it picks value between 50 and 100?

    • @priyankakothyari7511
      @priyankakothyari7511 2 ปีที่แล้ว

      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)..

  • @adam.09765
    @adam.09765 2 ปีที่แล้ว

    How to use x^n in javascript?

    • @gauravparihar6962
      @gauravparihar6962 2 ปีที่แล้ว +2

      z = math.pow(x, n); say u got z = math.pow(2, 3); then z= 8 ok

    • @adam.09765
      @adam.09765 2 ปีที่แล้ว

      @@gauravparihar6962 Thanks

  • @sakshamchhatkuli271
    @sakshamchhatkuli271 2 ปีที่แล้ว

    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();

  • @oparvind
    @oparvind 3 ปีที่แล้ว

    Binery no kaise print hoga??

  • @mdarora8738
    @mdarora8738 5 ปีที่แล้ว

    bhai ji aapke vs code ka color theme konsa hai ?

  • @MYchannel-zc6ii
    @MYchannel-zc6ii 2 ปีที่แล้ว

    Coding ke lie kam kaha se milta h konsi sight se

  • @bhaveshmevada8424
    @bhaveshmevada8424 5 ปีที่แล้ว

    sir data structure kab shuru honga??

  • @onesecondbeforedisaster8893
    @onesecondbeforedisaster8893 3 ปีที่แล้ว +1

    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

  • @khanomar725
    @khanomar725 2 ปีที่แล้ว +1

    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);

  • @rameshpandit8220
    @rameshpandit8220 5 ปีที่แล้ว

    Sir please unity 3d ke video banaye jese Movement. fight other

  • @shivambhardwaj9009
    @shivambhardwaj9009 5 ปีที่แล้ว

    Bhai tkinter me date kaise pick krte hai entry box me. Please bta do yr 🙏

  • @Monirulislam-eo9xb
    @Monirulislam-eo9xb 3 ปีที่แล้ว

    Harry bhai . project 1 watced 70,000+ people, but this video watch only 15,000. do you notice that??

  • @charaiveti_charaiveti
    @charaiveti_charaiveti ปีที่แล้ว

    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);

  • @boringraj1341
    @boringraj1341 3 ปีที่แล้ว

    sir how can we host a website?

  • @shivanigoswami7517
    @shivanigoswami7517 4 ปีที่แล้ว

    Harry bro notesapp wli website ko host kese krenge pls btaa do bhai

  • @KaranSingh-bs4mr
    @KaranSingh-bs4mr 5 ปีที่แล้ว

    Bhai ham python install Kyu karte hai command prompt me se programing nhi kar sakte Kya??

  • @anonymoususer7116
    @anonymoususer7116 3 ปีที่แล้ว

    math.trunc vi hai sir

  • @kapil33333
    @kapil33333 4 ปีที่แล้ว +1

    14:28
    Why cant we directly write 50 there??☹️🤔🤔🤔🤔

  • @jatingupta4026
    @jatingupta4026 3 ปีที่แล้ว +1

    1k Likes and only 4 dislikes ..... His content is +++++++++++++

    • @anantchandak9574
      @anantchandak9574 3 ปีที่แล้ว

      4 dislike wale batau kon hai
      WHITEHAT JR

  • @debidattapattanayak3235
    @debidattapattanayak3235 3 ปีที่แล้ว

    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.

  • @factzandcode
    @factzandcode 2 ปีที่แล้ว

    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 😅😅😅😅

  • @muftkatech2507
    @muftkatech2507 3 ปีที่แล้ว

    unexpected

  • @anandanicebajpai7981
    @anandanicebajpai7981 3 ปีที่แล้ว

    Sir Plzz sagitttion buy the .....Laptop 35 k...any one

  • @muralikrishna9499
    @muralikrishna9499 3 ปีที่แล้ว

    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.

  • @satenderpalsingh8839
    @satenderpalsingh8839 5 ปีที่แล้ว

    First

  • @krishnadarak5464
    @krishnadarak5464 ปีที่แล้ว

    Let cardTxt = element.getElementsByTagName("p")[0].innerText; didn't get this line can someone help out with this

  • @webylancers5607
    @webylancers5607 2 ปีที่แล้ว +1

    MashaaAllah Aameen 🙏 😍 🤲

  • @anandanicebajpai7981
    @anandanicebajpai7981 3 ปีที่แล้ว

    Sir Plzz sagitttion buy the .....Laptop 35 k...any one

  • @webylancers5607
    @webylancers5607 2 ปีที่แล้ว +1

    MashaaAllah Aameen 🙏 😍 🤲

  • @webylancers5607
    @webylancers5607 2 ปีที่แล้ว +1

    MashaaAllah Aameen 🙏 😍 🤲