• kn0wmad1c@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 days ago

    Are we doing pizza math? Here’s my entry.

    Did you know that two 12 inch pizzas is less pizza than one 18 inch pizza?

    We can use pi to determine the area of a 12" pie:

    A = πr² = π * 36 = 113.1in²

    Multiply that by 2 because we want two of them, so that’s 226 square gooey, cheesey inches of delicious pizza.

    Now let’s look at one 18" pie:

    A = πr² = π * 81 = 254.47in²

    So if it’s cheaper to get one 18" pizza as opposed to two 12" pizzas, you should always get the 18".

    • Brainsploosh@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 days ago

      An easier way to calculate the ratio could be:

      A_18 / A_12 = (pi/pi)* (18 / 12)² = (3² / 2²) = 9/4 = 2,25.

      Also, if you discount the crust, the ratios get even better!