• xthexder@l.sw0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 个月前

      Wait… that’s not an approximation at all! That equals exactly pi. If I understand the math correctly, it’s effectively a formula for the area of a unit circle.

      • OrganicMustard@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 个月前

        That should be an approximation. To get exactly pi the range of both integrals should be from minus infinity to infinity like this. It’s the integral of the 2D Gaussian, which is fairly known.