DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦3914879a4⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Racine, seg_024bde

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with F_Io;
with Racine_Carree;
with Text_Io;
procedure Racine is
    A, B, C, Racine_1, Racine_2 : Float;
    Ok : Boolean;
begin
    Text_Io.Put ("Valeur du coefficient A? ");
    F_Io.Get (A);
    Text_Io.Put ("Valeur du coefficient B? ");
    F_Io.Get (B);
    Text_Io.Put ("Valeur du coefficient C? ");
    F_Io.Get (C);
    Racine_Carree (A, B, C, Racine_1, Racine_2, Ok);
    if Ok then
        Text_Io.Put ("les racines de l'equation sont x1 = ");
        F_Io.Put (Racine_1, Aft => 3, Fore => 2, Exp => 0);
        Text_Io.Put (" et x2 = ");
        F_Io.Put (Racine_2, Aft => 3, Fore => 2, Exp => 0);
    else
        Text_Io.Put ("Erreur sur l'equation ");
        F_Io.Put (A, Aft => 3, Fore => 2, Exp => 0);
        Text_Io.Put ("*X**2 + ");
        F_Io.Put (B, Aft => 3, Fore => 2, Exp => 0);
        Text_Io.Put ("*X + ");
        F_Io.Put (C, Aft => 3, Fore => 2, Exp => 0);
        Text_Io.Put (" = 0");
    end if;
end Racine;

E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=20 rec1=00 rec2=01 rec3=000
        [0x01] rec0=04 rec1=00 rec2=02 rec3=001
    tail 0x2171fcb38839d71b2818d 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 31 80 0c 75 74 20 28 22 20 3d 20 30 22  ┆   1  ut (" = 0"┆