Approximating pi with Minecraft

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 100

  • @WillWillisIV
    @WillWillisIV 3 роки тому +51

    I think the error here may be related to the walls around the testing area which would limit the motions of the mobs. By the nature of random walks, they won't be in the corners as often.
    Perhaps a much larger testing area, where the square and inscribed circle are far from any walls or other limitations. If the circle has r=15, then centering it in a testing zone of 90x90 would certainly be enough to overcome this error.
    Another experiment in the zone you've already created: instead of spawning 8 predators in the center, spawn 2 in each corner. I expect that wouldn't change the overall ongoing counts much, but could change the headstarts and 20 more kills in the corner gets you to a more respectable 3.15
    I just found your videos, and I love them.

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +9

      Thanks for the awesome comment! You're right, there are a few major flaws in the experiment. One issue is that mobs stop walking around once they are a certain distance from the player so that puts a limit on the radius of the circle.
      I'm glad you like the videos! As long as people keep watching them, I'll keep making them :)

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +2

      @@aneeshsrinivas9366 I agree, it would have taken much longer to get better results.

    • @astorMorisson
      @astorMorisson 3 роки тому

      @@aneeshsrinivas9366 I guess that depends on the number of dimensions ;).
      I agree that the slimes at any time need to be uniformly distributed for this to work.

    • @kevinruiz5659
      @kevinruiz5659 3 роки тому

      @@DrWeselcouch Another thing to consider is that the ammount of slimeballs dropped is random, from 0 to 2. That means that the amount of slimeballs that you get doesn't actually count the amount of slimes killed in a given area, since some won't be counted, and some will be counted double.

    • @theotryhard8651
      @theotryhard8651 3 роки тому

      Also where the slimes die has some relationship to where the hog spawns which is probably not random. And he spawned the hogs all in the middle. An interesting example of how our models of the world have shortcomings.

  • @cristinaalexe7454
    @cristinaalexe7454 3 роки тому +24

    I came here from blackpenredpen and I love this kind of content!

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +4

      Welcome! I'm glad you liked it :)

    • @WinnerMin17
      @WinnerMin17 3 роки тому +1

      Same, a lot of good ideas

    • @aashsyed1277
      @aashsyed1277 3 роки тому

      Same for me!!! But 2 months ago from now

    • @aashsyed1277
      @aashsyed1277 3 роки тому

      so good to see you!!!!!

    • @aashsyed1277
      @aashsyed1277 3 роки тому

      Do you remember that I am 9 years old????

  • @dupriestmath
    @dupriestmath 2 роки тому +2

    This is amazing. I just started my own video series on math in Minecraft and I wish I had watched yours before starting! I like your editing skills and showmanship!

    • @DrWeselcouch
      @DrWeselcouch  2 роки тому

      Awesome! I'll have to check your videos out :)

  • @skaryzgik
    @skaryzgik 3 роки тому +1

    How close is the approximation of the circle? How many blue and red squares of floor are there here?
    My friend just showed me this minecraft playlist of yours and I love it already. I majored in math, and number theory was one of my favorite parts, along with topology. This playlist is my first introduction to your channel, but from some of the comments it sounds like you've got other stuff too--I'll be sure to take a peek when I finish watching this playlist!

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +1

      Great I'm glad your friend showed you my channel. Since you know a lot of math, you should watch my video on the Euler-Mascheroni constant. In terms of red vs blue, I'm not entirely sure. I used the Minecraft circle generator with radius 22 I believe.

  • @Fensmiler
    @Fensmiler Рік тому

    I liked the pi part

  • @Ofeke2000
    @Ofeke2000 3 роки тому +1

    I think you got an overestimate because you spawned the zompigs(not sure about the name) in the middle, you could use dispensers to spawn them at the same time with a smi-equal spread across the place to fix that, also a larger circle will get a better result(probably)
    Great video :D

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +1

      I wasn't sure if you could spawn them with dispensers. I"ll have to try that out!

    • @ayyu4967
      @ayyu4967 3 роки тому

      @@DrWeselcouch Actually, why should it matter that he spawned all the hoglins in the centre? All it means is that the slimes in the centre will die first, and the ones in the corners will die later. It shouldn't matter because they will all die sooner or later, according to me. I'm not very good at explaining, but this should make sense if you think about it. Am I correct?

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      @@ayyu4967 That's what I was going for in theory. Since the zoglins roam around they'll eventually make it to the corners and kill slimes there too.

  • @aashsyed1277
    @aashsyed1277 3 роки тому

    Nice

  • @andimandi8491
    @andimandi8491 3 роки тому +1

    Hey, i cane from blackpenredpen and i love your videos. I think the error in this test is that every slime drops a different amount of smile

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +1

      Oh cool! And I think you're right. That definitely didn't help.

  • @aneeshsrinivas9088
    @aneeshsrinivas9088 2 роки тому

    What’s pi day 3 going to be. Ramanujan’s pi formula. For 1/(pi).

    • @DrWeselcouch
      @DrWeselcouch  2 роки тому

      Hmm I'm not sure yet. I have some ideas!

    • @aneeshsrinivas9088
      @aneeshsrinivas9088 2 роки тому

      @@DrWeselcouch like what? also does my idea sound good? it seems like calculating (4k)!/(k!)^4 should be doable in minecraft, so this lends itself well to a pi approximation.

  • @d4n_the_man
    @d4n_the_man 3 роки тому +2

    Why is the video length not 3:14 haha

  • @000adrianelpiola000
    @000adrianelpiola000 3 роки тому

    PI is equal to 3.

  • @pe3akpe3et99
    @pe3akpe3et99 3 роки тому +12

    3:11, you've almost done it to 3:14

  • @tavishu
    @tavishu 3 роки тому +6

    Now can you approximate the golden ratio using minecraft?

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +3

      That's a good idea!!

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      @@aneeshsrinivas9366 Woah! I didn't know that sin(18) = (phi - 1)/2! This is very useful information!

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      @@aneeshsrinivas9366 No the issue is once you get a certain distance away the chunks unload so the redstone clock would pause while the chunk it's in is unloaded.

  • @GiacomoAakbr
    @GiacomoAakbr 3 роки тому +7

    Woah, was never expecting a Minecraft video from this channel!

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +4

      Let's be honest, every channel should have some Minecraft content!
      I posted a few videos in the last couple weeks. Check them out! :)

  • @sarainiaangelsong440
    @sarainiaangelsong440 Місяць тому

    I think you just need a slightly bigger area, try it about twice to thrice bigger, not only would this make the circle look more circular it should help with numbers better as you can fit more slimes in and thus having a more robust model, it will certainly get you way more closer to 3.14 vs the 3.28 that you got.

  • @integralboi2900
    @integralboi2900 3 роки тому +9

    The classical Monte Carlo method, this video was interesting.

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +2

      That's exactly right! I'm glad you enjoyed it! I have a few other Math and Minecraft videos on my channel if you're interested.

    • @Seedx
      @Seedx 3 роки тому

      My favorite way to approximate pi (:

  • @Userrrrrrrrrrrrrrrrrrrrrrrrr.r
    @Userrrrrrrrrrrrrrrrrrrrrrrrr.r 3 роки тому +4

    The man did it! He calculated pi in a world without circles!

  • @thes7274473
    @thes7274473 3 роки тому +1

    Interesting, but the slimes and hoglins just increase your error. You would get a better approximation by just counting how many blue carpets and how many red carpets you used rather than how many slime balls dropped on each color of carpet.

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      That's true. This method is called the Monte Carlo method. What you're describing is a Riemann Sum.

  • @natox7555
    @natox7555 8 місяців тому +1

    That's just so cool

    • @DrWeselcouch
      @DrWeselcouch  8 місяців тому

      Thanks! I've actually approximated many other numbers using Minecraft since I made this video.

  • @Vextrove
    @Vextrove 2 роки тому +1

    Pi is _the_ constant. I challenge you to do another approximation in Minecraft! :)

    • @DrWeselcouch
      @DrWeselcouch  2 роки тому

      I've done a bunch! Check out my Math and Minecraft playlist to see them all :)

  • @atriagotler
    @atriagotler 3 роки тому +1

    You should just remove the walls of hay to fix the error. Let them die wherever!
    (just don't count those that die outside of the square, obviously)

  • @PriggarGaming
    @PriggarGaming 4 місяці тому

    I did sonething simmilar today amd i thaught anyone else had this idea
    I used counted the blocks inside to calculate pi
    My approximation was 3.21875

    • @DrWeselcouch
      @DrWeselcouch  4 місяці тому

      Very cool!

    • @PriggarGaming
      @PriggarGaming 4 місяці тому

      @@DrWeselcouch ill upload the video today

    • @DrWeselcouch
      @DrWeselcouch  4 місяці тому

      @@PriggarGaming Can't wait to see it. Let me know when it's up :)

    • @PriggarGaming
      @PriggarGaming 4 місяці тому

      @@DrWeselcouch it's up today but I'm extremely bad at making videos
      And the video quality is bad
      And by bad I mean
      BBBBB
      B. B
      BBBB
      B. B
      BBBB
      A
      A. A
      A. A. A
      A. A
      A. A
      DDDD
      D. D
      D. D
      D. D
      DDDD
      TOO BAD
      Humanly un-veiwable
      I don't know why in still making videos

  • @Kdd160
    @Kdd160 3 роки тому +2

    From where do you get such super crazy awesome ideas?

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +4

      My cousin actually gave it to me. Such a funny concept don't you think?

    • @Kdd160
      @Kdd160 3 роки тому +1

      @@DrWeselcouch yup :)

  • @xiupingliu7343
    @xiupingliu7343 3 роки тому

    you could have just counted the number of blue and red blocks

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +1

      I feel like that would have been less fun.

  • @BryanWho22
    @BryanWho22 Рік тому

    i love it

  • @gabrielececcolini7723
    @gabrielececcolini7723 3 роки тому +1

    this is a litteraly a Montecarlo method in Minecraft, amazing

  • @shutup356
    @shutup356 3 роки тому

    3.14159265358979 is the most I have memories

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +1

      Wow that's a lot!

    • @aashsyed1277
      @aashsyed1277 3 роки тому +1

      @@DrWeselcouch the length of this video is near pi!

  • @radoonridoan7231
    @radoonridoan7231 3 роки тому

    Minecraftian Monte Carlo Methods

  • @cookieman2028
    @cookieman2028 3 роки тому

    That one at 1:32 got its freedom lol

  • @averageaf4321
    @averageaf4321 3 роки тому

    You played trumpet sounds but 3.28 is not a bad approximation for pi in a voxel game like minecraft, thats an error of around 4% id be happy with that.

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому +1

      That's a great point! 4% error isn't bad!

  • @jondoolio
    @jondoolio 3 роки тому

    Tgis is really clever! If the zoglin was replaced with a vindicator named johnny and a more randomized way of distributing the enemies that attack the slimes, that would be a better approximation. But I never thought of this idea, its really clever!

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      Thanks! I've made a bunch of other math and Minecraft videos since this one and I think the quality has improved. If you liked this one, you should definitely check out the others!

  • @azurtt
    @azurtt 3 роки тому

    instead of spawning predators you can use the /kill command, which is less biased to where you spawn them

  • @aashsyed1277
    @aashsyed1277 3 роки тому

    Very very very very very nicely done ☺️☺️☺️☺️

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      Thanks! Was this your first time watching this? This is an old one!

    • @aashsyed1277
      @aashsyed1277 3 роки тому

      @@DrWeselcouch umm no i watch your coffee and calculus old videos also!

    • @jimmykitty
      @jimmykitty 2 роки тому

      @@aashsyed1277 Hi

  • @gamerversez5372
    @gamerversez5372 3 роки тому

    You are awesome🤩🤩 .May be Noble Prize is waiting for you sir

  • @Ny0s
    @Ny0s 3 роки тому

    I'm so glad this channel exists. Here, have a new subscriber

  • @Error_404-d4e
    @Error_404-d4e 3 роки тому

    Excellent

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      Thank you so much 😀

    • @Error_404-d4e
      @Error_404-d4e 3 роки тому

      @@DrWeselcouch Mera age abhi 15year's HAI,Mai 21 year's mei kya Mathematics mei algebra and trigonometry mein PhD kar sakta hun. I am study everyday mathematics and physics 18hour's/Every day's.

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      @@Error_404-d4e Wow that's a lot!

  • @Alians0108
    @Alians0108 3 роки тому

    Please solve an integral in Minecraft. I don't care how, just do it lol.

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      What type of integral? You should watch my video on the Euler-Mascheroni Constant!

    • @Alians0108
      @Alians0108 3 роки тому

      @@DrWeselcouch Oh, I already binge-watched most of your videos regarding Minecraft. I was thinking of a straight-up standard indefinite/definite calculus 2-level question. I don't know how much Redstone can do but maybe some sort of question regarding the integral of x^n or something?
      Ps. I'd love to see the integral symbol in Minecraft.

    • @DrWeselcouch
      @DrWeselcouch  3 роки тому

      @@Alians0108 Great ideas! I'll see what I can do!