|
FOURTH-LEVEL GROUPS IN THE FIRST YEAR
Going over a previous program for finding the populations of 2-A and 3-A at the end of the first "year", and modifying this to also find fourth-level groups, namely: 4-A, 4-B, and 4-C
rem finds populations of 2-A, 3-A, 4-A, 4-B, and 4-C at the end of "year one" rem "population" means 2-A, while A3 and A4 refer to 3-A and 4-A, etc countit = 0 original = 5.49450549*10^16 rem 5.49450549*10^16 2-A per saturation cycle of 1-A population = 0 A3 = 0 A4 = 0 B4 = 0 C4 = 0 [start] population = population + original population = population * 1.01 A3 = A3 + (population/(1.82 * 10^12)) A3 = A3 * 1.02 A4 = A4 + (A3/(1.82 * 10^12)) A4=A4 * 1.03 B4 = B4 + (A3/(1.82 * 10^12)) B4=B4 * 1.02 C4 = C4 + (A3/(1.96 * 10^14)) C4=C4 * 1.03 countit = countit + 1 IF countit = 1000 then [end] GOTO [start] [end] print population print A3 print A4 print B4 print C4 end
answers: 1.16306248*10e23 (2-A) 6.31648463*10e16 (3-A) 2.13903792*10e10 or about 2.139*10e10 4-A 30058172.0 or about 3*10e7 4-B 1.98624949*10e8 or about 1.99*10e8 4-C
|
|