Continued fraction: Difference between revisions

m
Line 1,668:
[[File:Fōrmulæ - Continued fraction 02.png]]
 
[[File:Fōrmulæ - Continued fraction 0303a.png]]
 
'''Case 1.''' <math>\sqrt 2</math>
 
In this case
Line 1,687:
* The value of the normal (numeric) call, forced to be shown as a decimal number, by using the Math.Numeric expression (the N(x) expression)
 
[[File:Fōrmulæ - Continued fraction 0404a.png]]
 
[[File:Fōrmulæ - Continued fraction 0505a.png]]
 
'''Case 2.''' <math>e</math>
 
In this case
Line 1,699:
* λb is n ↦ 1 if n = 1, n - 1 elsewhere
 
[[File:Fōrmulæ - Continued fraction 0606a.png]]
 
[[File:Fōrmulæ - Continued fraction 0707a.png]]
 
'''Case 3.''' <math>\pi</math>
 
In this case
Line 1,711:
* λb is n ↦ 2(n - 1)²
 
[[File:Fōrmulæ - Continued fraction 0808a.png]]
 
[[File:Fōrmulæ - Continued fraction 0909a.png]]
 
=={{header|Go}}==
2,120

edits