Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
include c:\cxpl\codesi;
|
||||
real A, A1, G;
|
||||
[Format(0, 16);
|
||||
A:= 1.0; G:= 1.0/sqrt(2.0);
|
||||
repeat A1:= (A+G)/2.0;
|
||||
G:= sqrt(A*G);
|
||||
A:= A1;
|
||||
RlOut(0, A); RlOut(0, G); RlOut(0, A-G); CrLf(0);
|
||||
until A=G;
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue