rem finding 3-G population at the end of the second year rem originating from the "first-year" 2-C countit=1 G3 = 0 population = 1.0795545969037893632*10^21 [start] G3=G3+(population/(1.82 * 10^12)) G3=G3*1.02 population= population * 1.01 countit=countit + 1 IF countit=1000 then [end] GOTO [start] [end] G3=G3+(population/(1.82 * 10^12)) G3=G3*1.02 print G3 end
answer: 2.40947431*10e19 add this to 1.51098901*10e10 gives the sum: 2.40947431151098901*10e19 or about 2.41*10e19 3-G produced in "year two"
|