|
WOW! That's the fastest-converging series I've ever seen. It only took 3 iterations (not counting your initial values) to equal the precision of Excel, which is 15 digits. Here's the spreadsheet I used to verify this:
Just copy the cells in row 3 to the rows below it, and here are the values you get:
The value of the cell E5, is (((((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)+ sqrt(sqrt((1/sqrt(2))*1)*((1+(1/sqrt(2)))/2)))/2)+ sqrt(sqrt(sqrt((1/sqrt(2))*1)*((1+(1/sqrt(2)))/2))*((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)))²/(4*((((1/4)-1*(1-((1+(1/sqrt(2)))/2))²)-(2*1)*(((1+(1/sqrt(2)))/2)-((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2))²)-(2*(2*1))*(((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)-((((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)+ sqrt(sqrt((1/sqrt(2))*1)*((1+(1/sqrt(2)))/2)))/2))²)) The number 4 appears just twice, and they can be easily be replaced by (2*2). This means a value very close to pi can be obtained from an expression containing only ones, twos, and algebraic operators: (((((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)+ sqrt(sqrt((1/sqrt(2))*1)*((1+(1/sqrt(2)))/2)))/2)+ sqrt(sqrt(sqrt((1/sqrt(2))*1)*((1+(1/sqrt(2)))/2))*((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)))²/(2*2*((((1/(2*2))-1*(1-((1+(1/sqrt(2)))/2))²)-(2*1)*(((1+(1/sqrt(2)))/2)-((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2))²)-(2*(2*1))*(((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)-((((((1+(1/sqrt(2)))/2)+ sqrt((1/sqrt(2))*1))/2)+ sqrt(sqrt((1/sqrt(2))*1)*((1+(1/sqrt(2)))/2)))/2))²)) This is also called the Gauss-Legendre approximation. Related pages on this website
|
|
The webmaster and author of the Math
Help site is Graeme McRae. |