Tuesday, March 11, 2014

2.5 Sine Function Computation

Algoritma

     1. Analisisnya
                Mengevaluasi nilai sin, cos dan tan
     2. Identifikasi
                Input   : a, b, c, d, e
               Output : sin, cos, tan
     3. Algoritmanya
               Deklarasi
                      int : a, b, c, x, y
               Deskripsi
                      x = pi / 6
                      z = 1
                      a = sin (x*z)
                      b = cos (x*z)
                      c = tan (x*z)
                      d = 1/c
                      e = 30*z
                      z < 13
      

Flowchart




C++



0 comments:

Post a Comment

Template by:

Free Blog Templates