DataMuseum.dk

Presents historical artifacts from the history of:

RC4000/8000/9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC4000/8000/9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦78ab754c0⟧ TextFile

    Length: 768 (0x300)
    Types: TextFile
    Names: »etxt«

Derivation

└─⟦621cfb9a2⟧ Bits:30002817 RC8000 Dump tape fra HCØ.  Detaljer om "HC8000" projekt.
    └─⟦0364f57e3⟧ 
        └─⟦this⟧ »etxt« 

TextFile

Euler
begin
real dx,x,y,l,xo,yo;
integer i,n,j,r;
dx:=readr (<:trinstørrelse dx:>);
xo:=readr (<:startværdi xo:>);
yo:=readr(<:yo:>);
l:= readr(<:interesseintervals længde:>);
 r:=readi(<:grad af approx polynomium:>);
n:=abs(round(l/dx));
begin
array X,Y(1:n+1), C,S(0:r);
x:=xo;
y:=yo; for i:=2 step 1 until n+1 do
   begin
   y:= y+f(x,y)*dx;
   x:= x+dx;
   write(out, x,  y,"nl",1) ;  
X(i):=x; Y(i):=y;
X(1):=xo; Y(1):=yo;

    end;
polfit(X,Y,n,C,S,r);
for j:=0 step 1 until r do  write(out, j, C(j),"nl",1);
end; end;
▶EOF◀