Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  fraktal.cob   Sprache: Cobol

 

       identification division.
       program-id. fraktal.
      * Autor Jens-D. Doll
      * T(z) = (a*z+b*z)/(c*z+d*z)
      * unfertig, siehe Bild der Wissenschaft 5-2008 o.ä.
       author. "JD".
       date-written. 4.7.2006.
       date-compiled.
       data division.
       working-storage section.
         77 Eps       pic 9(4)V9(8).
         77 i         pic 9(4).
         77 maxi      pic 9(4).
         77 a         pic 9(4).
         77 b         pic 9(4).
         77 c         pic 9(4).
         77 d         pic 9(4).
         77 z         pic 9(4)V9(4).
         77 zi        pic 9(4)V9(4).
         77 u         pic 9(4)V9(4).
         77 ui        pic 9(4)V9(4).
       procedure division.
         display "start, enter a,b,c,d"
         accept a b c d
         move 0 to z zi i
         perform until d<eps or i>maxi
           compute z=a*z
           compute zi=b*z
           compute z=z+b*z
           compute zi=zi+b*z
           compute u=a*z
           compute ui=b*z
           compute u=u+b*z
           compute ui=ui+b*z
           compute z=(z+zi) / (u+ui)
           add 1 to i   
         end-perform
         if i<maxi then display "done, sequence converges"
         else           display "done, diversion!" .
        end-program fraktal.

Messung
CHZG
8610010095

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

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,837
#Domains=906,773