Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
10 print agm(1,1/sqr(2))
|
||||
20 end
|
||||
100 sub agm(a,g)
|
||||
110 do
|
||||
120 let ta = (a+g)/2
|
||||
130 let g = sqr(a*g)
|
||||
140 let x = a
|
||||
150 let a = ta
|
||||
160 let ta = x
|
||||
170 loop until a = ta
|
||||
180 agm = a
|
||||
190 end sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue