Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Cobol/verschiedene-Autoren/Stauffer-Stanley/   (verschiedene Autoren Version 0.7©)  Datei vom 17.10.2010 mit Größe 780 B image not shown  

Quelle  stau-p36.cob   Sprache: Cobol

 

       Identification Division.
       Program-Id. Euler.
      * from Stauffer/Stanley
      * from Newton to Mandelbrot
      * Springer 1996
       Data Division.
       Working-Storage Section.
         77 vx          pic S9(4)V9(4).
         77 vy          pic S9(4)V9(4).
         77 dt          pic S9(4)V9(4).
       Procedure Division.
        display "omega="
        accept w1,w2,w3
        move 0.1 to dt
        move 10 to t1
        move 1 to t2
        move 0.1 to t3
        compute d1=dt*(t2-t3)/t1
        compute d2=dt*(t3-t1)/t2
        compute d3=dt*(t1-t2)/t3
       L90.
        compute w1=w1+d1*w2*w3
        compute w2=w2+d2*w3*w1
        compute w3=w3+d3*w1*w2
        display w1, w2
        go to L90.
       End-Program Euler.

Messung
CHZG
1009910099

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland