a + ar² + ....... + arn-1
a : tribe initial
r : ratio
n : a lot of tribes
For the number of runs formula n geometry like this:
Sn = a(rn-1)/r-1 , jika r>1
= a(1-rn)/1-r , jika r<1 --> Exponential function (in n)
Description:
1. The ratio between two successive rate is fixed
2. Rows of geometry will rise, if for each n apply Un> Un-1
3. Rows of geometry will go down, if for n every valid Un
5. Valid relationships Un = Sn - Sn-1
6. If an odd number of tribes, the tribal center
7. Ut = sqrt(U1xUn) = sqrt(U2 X Un-1) dst.
8. If three numbers form a geometric sequence, then to facilitate the calculation, suppose that the numbers it is a / r, a, ar
How do I create a procedure? First we created was a process that makes the value of r can menjasi pangakat accordance with the tribe. After that we created a new loop that prints the value of each array geometry. Step tersakhir ie summing series.
In the picture below procedure, the process may be in the red box and inside the green box is the process of printing spare geometry.
Tidak ada komentar:
Posting Komentar