Pythagorean Theorem: Proof, Applications and JavaScript Code

Поделиться
HTML-код
  • Опубликовано: 4 май 2021
  • The Pythagorean theorem is one of the most useful things in the world!
    It helps me to make Games, Location-based Systems, Augmented reality Apps, Machine learning projects but also to build things in the real world like this swing!
    In this video I'll teach you what the Pythagorean theorem is, how to prove it's true, an application of how I use it in practice, and how to implement it in JavaScript! I will show two different proofs for the Pythagorean Theorem: an interactive one inspired by Henry Perigal and a more rigorous one by Alfred Einstein. I then show how to code it in JavaScript in a basic way, but I also give some pro tips and a collision detection application that you can use in your games!
    ⭐️ Where I use it ⭐️
    Machine Learning: • Learn Machine Learning...
    Augmented Reality Piano: • VWD Course Contents + ...
    Location Based Systems: • Efficient Management a...
    Coronaville Game: cs.uef.fi/~radum/coronaville
    ⭐️ Hackeracer game ⭐️
    Practice speed-coding! Can you beat my score ? :-)
    radufromfinland.com/projects/...
    ⭐️ My interactive proof ⭐️
    cs.uef.fi/~radum/youtube/pyth...
    ⭐️ My codepen ⭐️
    codepen.io/gniziemazity
    ⭐️ Other proofs ⭐️
    www.cut-the-knot.org/pythagoras
    #visualwebdevelopment #vwd #pythagoras

Комментарии • 58

  • @Radu
    @Radu  3 года назад +7

    What it is: 0:36
    Visual interactive proof: 1:18
    Einstein's proof: 2:27
    JavaScript code: 5:06
    Collision application: 6:02
    Pro tips: 6:44
    HackeRacer game: 7:30

  • @scientificreach1215
    @scientificreach1215 2 года назад +8

    Radu is not only an amazing teacher, he is also a talented animator and his humour is refreshing. Bravo!

    • @Radu
      @Radu  2 года назад +1

      Wow, this comment made my day :-)

  • @blokche_dev
    @blokche_dev 3 года назад +3

    Short and clear. Much easier to watch for a lot of people I think. Even if longer format are nice too. Anyway, thanks for sharing.

    • @Radu
      @Radu  3 года назад

      Thank you! I will try to make more videos in this shorter format.

  • @Colaholiker
    @Colaholiker 8 месяцев назад +1

    There is something more useful than the Pythagorean Theorem.
    Coffee.
    Without me having had enough of coffee, I wouldn't even know what the Pythagorean Theorem is. So Coffee is basically a fundamental building block for the PT. 😉
    Okay, jokes aside, a few days ago, I randomly came across one of your videos here and I have been binging them since. I have been working in embedded software development for close to 18 years now, but I hardly had any JavaScript exposure since the late 90s, when you just had to look at it because it was the cool and new thing in your Netscape Navigator. Very interesting and certainly different. Thank you!

    • @Radu
      @Radu  8 месяцев назад +1

      Haha, yeah, coffee might just beat it :-)
      Amazing to see people with a lot of coding experience watching my videos.
      Thanks for watching!

  • @md.fakrulabedinbhuiyan2574
    @md.fakrulabedinbhuiyan2574 3 года назад +4

    Just wow ❤️

    • @Radu
      @Radu  3 года назад

      Glad you liked it :-)

  • @mohammedjaddoa9783
    @mohammedjaddoa9783 10 месяцев назад +1

    I hope you read my comment, your videos are the best ever. I suggest teaching math that is necessary for machine learning using visualization with JavaScript.

    • @Radu
      @Radu  10 месяцев назад +1

      I already do in videos like this and in my ML course(s).

  • @piersonlippard2911
    @piersonlippard2911 3 года назад +2

    Hey there Radu, thanks for a fun and nicely explained tutorial. ;-)

    • @Radu
      @Radu  3 года назад

      Hi Pierson, glad to hear you liked it :-)

  • @emmanuel-ayxdele
    @emmanuel-ayxdele 2 года назад +2

    Here from Reddit. This is beautiful content. Keep up the good work, Radu.

    • @Radu
      @Radu  2 года назад

      Thank you Emmanuel :-) It means a lot to hear things like this!

  • @millyxcode6110
    @millyxcode6110 5 месяцев назад +1

    This is cool. Thank you Radu.

    • @Radu
      @Radu  5 месяцев назад

      You're welcome :-)

  • @ytrkptl
    @ytrkptl 2 года назад +1

    This is a great video on both Pythagorean Theorem and coding. Thank you.

    • @Radu
      @Radu  2 года назад

      I'm glad you liked it!

  • @Inspirator_AG112
    @Inspirator_AG112 2 года назад +2

    I am from *R/learnmath,* which is one of my favorite sub-Reddits! 👍

    • @Radu
      @Radu  2 года назад +1

      Cool! Yeah, I visit there from time to time. I posted this or some variant (maybe my newest video) over there too. I guess it's how you found me :)

    • @Inspirator_AG112
      @Inspirator_AG112 2 года назад +2

      @@Radu:
      I do not have a Reddit login, but I found this there.

    • @Radu
      @Radu  2 года назад +1

      @@Inspirator_AG112 Ah, ok! Glad you did :-)

  • @unknown-bx8my
    @unknown-bx8my 3 года назад +2

    Awesome video,
    I use this theorem in every project😊.

  • @kirilvedmidskiy
    @kirilvedmidskiy 5 месяцев назад +1

    really cool! thank you!

    • @Radu
      @Radu  4 месяца назад

      No problem :-)

  • @dacastro
    @dacastro 2 года назад +1

    Good video. Saw your post on Reddit about the game. Excellent video and game.
    Congrats

    • @Radu
      @Radu  2 года назад

      Thank you, Daniel! Glad you liked it.

  • @Frankslaboratory
    @Frankslaboratory 3 года назад +2

    Well explained, distance calculation useful for so many things. What software did you use to animate all these visuals, did you code all of that? :D

    • @Radu
      @Radu  3 года назад +1

      I edited in after effects, but many of the more complicated things are coded, like using that tool I linked in the description. It's very difficult to animate something like that using common tools (at least for me).

  • @himquantum
    @himquantum Год назад +1

    You are doing great work

    • @Radu
      @Radu  Год назад

      Thanks!

  • @laharisengupta
    @laharisengupta Год назад +1

    Nice explanation

    • @Radu
      @Radu  Год назад

      Thanks :-)

  • @ssikarim
    @ssikarim 3 месяца назад +1

    Thanks Radu

    • @Radu
      @Radu  3 месяца назад

      You're welcome :-)

  • @cybersecurity7978
    @cybersecurity7978 Год назад +1

    You are great sir

    • @Radu
      @Radu  Год назад

      Thank you!

  • @rishavpapaji5349
    @rishavpapaji5349 Год назад +1

    I never Thought that Pythagorean theorem can use to detect collision

    • @Radu
      @Radu  Год назад

      Sure it can :-) amongst many other uses.

  • @diegohautamaki4328
    @diegohautamaki4328 3 года назад +2

    Is the hacker racer glitch fixed?

  • @boomboomgames_
    @boomboomgames_ 2 года назад +1

    You just got another sub cuz, why not :)

    • @Radu
      @Radu  2 года назад

      Thanks! Hope you'll find it worth it :-)

  • @AsifZeeshan
    @AsifZeeshan 5 месяцев назад

    Why are you so awesome!!!!! :D

    • @Radu
      @Radu  5 месяцев назад

      Thanks :-) glad to hear I'm awesome :-D

  • @scottonanski4173
    @scottonanski4173 3 года назад +1

    Now I can't stop worrying about that swing I've been meaning to build.

    • @Radu
      @Radu  3 года назад

      Oh, sorry I brought forth such such a worrying thought :-) But hey, I'm sure it'll be alright!

    • @scottonanski4173
      @scottonanski4173 3 года назад +1

      @@Radu No! You totally solve the issue of building the backrest for me! This is a good thing!

    • @Radu
      @Radu  3 года назад

      @@scottonanski4173 Wow! Glad to hear :-)

  • @unknown-bx8my
    @unknown-bx8my 3 года назад +3

    I like hackeracer game☺😂

    • @Radu
      @Radu  3 года назад +1

      Cool :-) There are more codes there that you can practice, if you want.

    • @unknown-bx8my
      @unknown-bx8my 3 года назад +1

      @@Radu very good

  • @a99986
    @a99986 9 месяцев назад +1

    sir dont mind please but poor audio quality

    • @Radu
      @Radu  9 месяцев назад +1

      Thanks for the tip. I think it got better in more recent videos.