Continued fraction/Arithmetic/G(matrix ng, continued fraction n1, continued fraction n2): Difference between revisions
Content added Content deleted
Line 8,157: | Line 8,157: | ||
(one + (one / sqrt2)) / two, "method 1"); |
(one + (one / sqrt2)) / two, "method 1"); |
||
show ("(1 + 1/sqrt(2))/2", |
show ("(1 + 1/sqrt(2))/2", |
||
silverRatio |
silverRatio * pow (sqrt2, ~3), "method 2"); |
||
show ("(1 + 1/sqrt(2))/2", |
show ("(1 + 1/sqrt(2))/2", |
||
(pow (silverRatio, 2) + one) / (four * two), "method 3"); |
(pow (silverRatio, 2) + one) / (four * two), "method 3"); |