|
FOURTH-LEVEL GROUPS IN THE FIRST YEAR, continued
As in the previous program for finding the populations of 2-A and 3-A at the end of the first "year", we now calculate fourth-level groups, but from 3-B: 4-D, 4-E, and 4-F
rem finds populations of 2-A, 3-B, 4-D, 4-E, and 4-F at the end of "year one" rem "population" means 2-A, while B3 and D4 refer to 3-B and 4-D, etc countit = 0 original = 5.49450549*10^16 rem 5.49450549*10^16 2-A per saturation cycle of 1-A population = 0 B3 = 0 D4 = 0 E4 = 0 F4 = 0 [start] population = population + original population = population * 1.01 B3 = B3 + (population/(1.82 * 10^12)) B3 = B3 * 1.01 D4 = D4 + (B3/(1.82 * 10^12)) D4 = D4 * 1.02 E4 = E4 + (B3/(1.82 * 10^12)) E4 = E4 * 1.01 F4 = F4 + (B3/(1.96 * 10^14)) F4 = F4 * 1.02 countit = countit + 1 IF countit = 1000 then [end] GOTO [start] [end] print population print B3 print D4 print E4 print F4 end
answers: 1.16306248*10e23 (2-A) 5.80922992*10e13 (3-B) 3572119.67 or about 3.572*10e6 4-D 14704.0305 or about 1.47*10e4 4-E 33169.6826 or about 3.317*10e4 4-F
|
|