|
FOURTH-LEVEL GROUPS IN THE FIRST YEAR, continued
As in the previous program for finding the populations of 2-B and 3-F at the end of the first "year", we now calculate fourth-level groups, but from 2-C and 3-G: 4-S, 4-T, and 4-U
rem finds populations of 3-G, 4-S, 4-T, and 4-U at the end of "year one" rem "population" means 2-C, while G3 and S4 refer to 3-G and 4-S, etc countit = 0 original = 5.10204082*10^14 rem 5.10204082*10^14 2-C per saturation cycle of 1-A population = 0 G3 = 0 S4 = 0 T4 = 0 U4 = 0 [start] population = population + original population = population * 1.01 G3 = G3 + (population/(1.82 * 10^12)) G3 = G3 * 1.02 S4 = S4 + (G3/(1.82 * 10^12)) S4 = S4 * 1.03 T4 = T4 + (G3/(1.82 * 10^12)) T4 = T4 * 1.02 U4 = U4 + (G3/(1.96 * 10^14)) U4 = U4 * 1.03 countit = countit + 1 IF countit = 1000 then [end] GOTO [start] [end] print G3 print S4 print T4 print U4 end
answers: 5.86530716*10e14 (3-G) 1.9862495*10e8 or about 1.99*10e8 4-S 279111.598 or about 2.79*10e5 4-T 1844374.53 or about 1.84*10e6 4-U
|
|