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

⟦d9478c1e1⟧ TextFile

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

Derivation

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

TextFile

kkskl=algol
begin
  integer i,j,år;
  real k,a,p,r;
  k:=readr(<:gæld            :>);
  a:=readr(<:afdrag pr. mdr. :>);
  p:=readr(<:rente p. a.     :>);
  år:=readi(<:første år       :>);
  r:=(p/100+1)**(1/12);
  while k> 0 do
  begin
    write(out,<< dddd>,år,<:    :>);
    år:=år+1;
    for i:=1 step 1 until 4 do
    begin
      write(out,<< dddddd.dd>,k);
      k:=k*r**3-a*(r**2+r+1);
    end;
    outchar(out,10);
  end while;
end
▶EOF◀