IdentificationDivision. Program-Id. Victor. * Buch "Introduction to Cybernetics", 1966 * von Viktor Gluschkow * p270 DataDivision. Working-StorageSection. 78 n value100. 77 i pic9(4). 77 j pic9(4). 77 k pic9(4). 77 y pic9(4)V99. 77 s pic9(4)V99. 77 d pic9(4)V99. 77 r pic9(4)V99. 77 a pic9(4)V99 occurs n. 77 b pic9(4)V99 occurs n. 01 p pic9(4)V99 occurs n. ProcedureDivision. * Formula
L. accept b movefunction f(b) to y move0to s performvarying i from1until i=n add d to a(i) display a accept b compute p(i)=(function f(b)-y)/d compute s=s+p(i)*p(i) subtract d from a(i) end-perform compute r=d/function sqrt(s) performvarying i from1until i=n compute a(i)=r*p(i)+a(i) end-perform display a accept b iffunction abs(y - function f(b))>1thengoto L else performvarying k from1until k=n compute a(i)=a(i)-r*p(i) end-perform end-if display a goto L. * P=??? End-Program Victor.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet am 2026-06-10)
¤
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.