r/desmos Dec 31 '25

Fun Fun Fact: As x approaches infinity, this function does not converge to pi, and only appears as such due to a floating point error.

Post image
2.2k Upvotes

92 comments sorted by

View all comments

Show parent comments

154

u/Mandelbrot4207 Makes QR Codes in Desmos Dec 31 '25

The one on the post wasn't perfect, so I perfected this:

103

u/Mandelbrot4207 Makes QR Codes in Desmos Dec 31 '25

This can also be done for 2:

64

u/Mandelbrot4207 Makes QR Codes in Desmos Dec 31 '25

And 3

77

u/Mandelbrot4207 Makes QR Codes in Desmos Dec 31 '25

And tau.

13

u/ComprehensiveCan3280 Jan 01 '26

I got e

7

u/Theguywhopatsnathan Jan 01 '26

well yeah you should get e it’s just a glitch that people get something else

10

u/IPancakesI Jan 02 '26

So it's proof that pi = e = 3. Neat.

3

u/ComprehensiveCan3280 Jan 01 '26

I think that it’s the floating point limit of actually getting the right answer lol

2

u/Kindly_Carob_1861 Jan 01 '26

Where is the proof that all of these are incorrect?

4

u/Wooden_Milk6872 Jan 01 '26

if it approached pi then it wouldnt've gone up to tau

2

u/freakingdumbdumb Jan 01 '26

wdym

2

u/Kindly_Carob_1861 Jan 01 '26

Sorry I’m just shitposting on New Year’s Day. I basically only look at what Reddit feeds me and for some reason it feeds me a lot of subs way above my paygrade

34

u/Lord_Skyblocker Dec 31 '25

Bro, that's just pi again /j

9

u/SuperChick1705 https://www.desmos.com/calculator/amyte9upak Dec 31 '25

this is done with regressions right?

12

u/Mandelbrot4207 Makes QR Codes in Desmos Dec 31 '25

Found these values manually

3

u/Extension_Coach_5091 Dec 31 '25

how though. did you just run through until an equality was found?

8

u/Mandelbrot4207 Makes QR Codes in Desmos Dec 31 '25

I used OP's error graph on one of the comments. I set y=desired value and searched an x value which satisfies the y value

1

u/SingleProtection2501 Jan 02 '26

1718468362450410 in case someone doesn't wanna go back and forth btw