• Pada Algoritma pencarian banyak yang bisa kita temukan atau gunakan. Ada Merge Sort, Quick Sort, Bubble Sort, dan...
  • Pada dasarnya algoritma searching banyak kita jumpai. Apalagi hanya untuk mencari nilai minimum dan nilai maximum...
  • Kalian pasti sudah tahu apa itu Deret Fibonacci, ya benar. (Padahal gak jawab). Tetapi pada pembahasan kali ini kita akan membuar program...
  • Metoda Pencarian Biner ( Binary Search) hanya bisa diterapkan jika data array sudah terurut. Pengurutan Array bisa menggunakan jenis sorting ...
  • Salah satu contoh tipe algoritma brute force lainnya adalah linear search (pencarian berurutan), Dikatakan demikian karena algoritma ini menggunakan ...

Tuesday, May 31, 2011

Deret Aritmatika: Program Seeking Series Arithmetic and Number Series Arithmetic

Arithmetic series in the field of mathematics is the sequence number in which the next number of additions to the previous number by a number of specific differences. Examples are 3,5,7,9,11,13, ..... Arithmetic series can be expressed with the following formula:






  In this case the n-th quarter:





The total of all quarters:






For example, the total rate of a quarter of the form an = 3 + (n-1)(5) up to a quarter-50 is :






Arithmetic series can also be written as follows:

a + (a + b) + (a +2 b) +. . . . . . + (a + (n-1) b)

a = initial rate
b = difference
n = many tribes
Un = a + (n - 1) b is the n-th quarter

Total n rates :
Sn   = 1 / 2 n (a + Un)
       = 1 / 2 n [2a + (n-1) b]
       = 1/2bn² + (a - 1/2b) n --> quadratic function (in n)

Description:
1. Differences between the two successive quarters is fixed (b = Sn ")
2. Front arithmetic will rise if b> 0
    Front arithmetic will go down if b <0
3. Relationships occur Un = Sn - Sn-1, or Un = Sn '- 1 / 2 Sn "
4. If an odd number of quarter, the central rate
     Ut = 1 / 2 (U1 + Un) = 1 / 2 (U2 + Un-1)
5. Sn = 1 / 2 n (a + Un) = nUt  -->  Ut = Sn / n
6. If three numbers form an arithmetic line, so to simplify the calculation of these numbers suppose it is a - b, a, a + b

Procedures for making me make something like this:

For more detailed study of existing programs to try to complete the understanding will be easier. Please download the ziddu. Good work!

Jadilah yang pertama mengomentari

Post a Comment

Tutorial Algorithm and Programming ©Template Blogger Green by Dicas Blogger.

To Up