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


Impressum sin.cob   Sprache: unbekannt

 
       identification division.
       program-id. sin.
      *  aus Wirth, systematisches Programmieren p. 65 
       author"JD".
       date-written. 11.9.2005.
       date-compiled.
       data division.
       working-storage section.
       77 s   pic 9(4)V9(4) comp.
       77 t   pic 9(4)V9(4) comp.
       77 k   pic 9(4) comp.
       77 eps pic 9(4)V9(4) comp value 0.001.
       linkage section.
       77 x   pic 9(4)V9(4) comp.
       77 r   pic 9(4)V9(4) comp.
       procedure division using x r.
      * computes sin(x)
         move x to t
         move 1 to k
         move t to s
         perform until function abs(t) <= eps * function abs(s)
           add 2 to k
           compute t = - t * x * x / ( k * (k - 1))
           add t to s
         end-perform.
         move s to r.
        end-program sin.

Messung V0.5 in Prozent
C=93 H=100 G=96

[Seitenstruktur0.11Druckenetwas mehr zur Ethik2026-05-02]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge