I just learned the mind palace technique to memorize stuff and wanna put it to use.

  • arthur@lemmy.zip
    link
    fedilink
    arrow-up
    62
    ·
    edit-2
    1 year ago

    Do you remember the Fibonacci sequence? You can use it to convert miles to kilometers .

    2 mi ~= 3km

    5mi ~= 8km

    8mi ~= 13km

    13mi ~= 21km

    And so on.

      • snek_boi@lemmy.ml
        link
        fedilink
        arrow-up
        45
        ·
        edit-2
        1 year ago

        I think the way to formally prove this is to find the difference between the Fibonacci approximation and the usual conversion, and then to find whether that series is convergent or not. Someone who has taken the appropriate pre-calculus or calculus course could actually carry it out :P

        However, I got curious about graphing it for distances “small enough” like from Earth to the sun (150 million km). Turns out, there’s always an error, but the error doesn’t seem to be growing. In other words, except for the first few terms, the Fibonacci approximation works!

        This graph grabs each “Fibonacci mile” and converts it to kilometers either with the usual conversion or the Fibonacci-approximation conversion. I also plotted a straight line to see if the points deviated.

        Edit: Here’s another graph

        So it turns out:

        • Fibonacci-approximated kilometers are always higher than the usual-conversion kilometers
        • At most, the difference between both is 25%. That happens early on in the terms.
        • After that, the percentage difference oscillates around a value and comes closer to it.
        • When talking about more than 100 miles, the percentage change approximates 0.54.

        TL;DR:

        • Yes, the Fibonacci trick is true forever as you go higher in the sequence if you’re willing to accept a 0.54% error.
      • Kogasa@programming.dev
        link
        fedilink
        arrow-up
        14
        ·
        1 year ago

        The ratio of consecutive terms of the Fibonacci sequence is approximately the golden ratio phi = ~1.618. This approximation gets more accurate as the sequence advances. One mile is ~1.609km. So technically for large enough numbers of miles, you will be off by about half a percent.

      • Liam Galt@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        13
        ·
        1 year ago

        It’s true forever. The Fibonacci sequence used in this way converges on the golden ratio, which is close to the conversion of km and mi.

        • kakes
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          Someone already replied with a graph, but I also got curious and checked for some higher numbers. Sure enough, it held up.

          For example:
          832,040mi => 1,346,269km (actual: 1,339,039km)

          • Maya@lemmy.fmhy.ml
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            We wish they were that cool, the inventors of the modern mile were more concerned about land measurements. A square mile is 640 acres. Which neatly can be cut into quarters 3 times. 160, 40, 10.

      • masochismworld@lemmy.ml
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        Conversion factor of miles to kilometers is about 1.609 and golden ratio is about 1.618, it will be pretty accurate for quite a while…

      • abejfehr@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It’s always true because the ratio of miles to km is really close to the golden ratio.

        If you do it for a zillion miles you’ll be off by a lot of km, but proportionally the same amount as for 1 mile