Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/Cobol/Test-Suite/SQL P/isi/     Datei vom 4.1.2008 mit Größe 24 kB image not shown  

Quellcode-Bibliothek stau-p71.cob   Sprache: Cobol

 
       Identification Division.
       Program-Id. Dipole.
      * from Stauffer/Stanley
      * From Newton to Mandelbrot
      * Springer 1996
       Data Division.
       Working-Storage Section.
         01  occurs 20.
           05 ph        pic S9(4)V9(4) occurs 20.
         77 vx          pic S9(4)V9(4).
         77 vy          pic S9(4)V9(4).
         77 dt          pic S9(4)V9(4).
       Procedure Division.
        call hgr hcolor:7
        call hplot using 130,1,to,130,159
        call hplot using 1,80,to,260,80
        L10.
        display "x,y="
        accept x,y
        move 0.1 to dr
        move 10 to sc
        L30.
        compute r2=x*x+y*y
        compute r5=function pow(r2,2.5)
        compute ex=(3*x*x-r2)/r5
        compute ey=3*y*x/r5
        compute x=x+ex*dr*r2
        compute y=y+ey*dr*r2
        display x, y
        call hplot using 130+sc*x,80+sc*y
        call hplot using 130-sc*x,80+sc*y
        call hplot using 130+sc*x,80-sc*y
        call hplot using 130-sc*x,80-sc*y
        if x>0 then go to L30
        goto L10.
       End-Program Dipole.

Messung V0.5
C=92 H=92 G=91

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:  (vorverarbeitet)  ¤

*Bot Zugriff






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.