• neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 day ago

    Can someone please explain this to us smoothbrains who never finished school? I see a for-loop on the left, and some sort of integral on the right, but that’s about it…

    • Gladaed@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 day ago

      Their technique barely gets them close to their goal, while their mother removes all of the peel, but none of the rest perfectly.

    • abigscaryhobo@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 day ago

      It’s basically taking the measurement of the area under a curve. The left does it in uniform chunks, and is often less accurate depending on delta x (the size of the chunks). The right effectively makes the size of the “chunks” infinitely small and gives a more accurate answer.

      Simple version: Me: Close but either too much or too little potat removed. Mom: absolutely perfect with no skin and no wasted potat.

      • AnarchistArtificer@slrpnk.net
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 hours ago

        Sometimes when I’m peeling potatoes, I will peel more aggressively than even the version on the left, because sometimes I want the potatoes to look pretty.

    • themaninblack@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      Yep the left is just measuring via repeated addition of slices n times, the right is the same but the slice thinness can approach 0, and the number of times approaches infinity