IdentificationDivision. Program-Id. Atom. * from Stauffer/Stanley * From Newton to Mandelbrot * Springer 1996 DataDivision. Working-StorageSection.
01 ispic S9(4)V9(4) occurs 1680.
77 vx pic S9(4)V9(4).
77 vy pic S9(4)V9(4).
77 dt pic S9(4)V9(4). ProcedureDivision. move -0.25 to e move 0 to ps move 1 to p1 move 0.01 to dx move 0 to x
L60. performvarying i from 1 until i>10 add dx to x compute p2=(-1/x-e)*ps compute p1=p1+p2*dx compute ps=ps+p1*dx end-Perform display ps, p1 goto L60. End-Program Atom.
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
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 ist noch experimentell.