rem finding 3-B population at the end of the second year rem originating from the "first-year" 2-A countit=1 B3 = 0 population = 1.16306248*10^23 [start] B3=B3+(population/(1.82 * 10^12)) B3=B3*1.01 population= population * 1.01 countit=countit + 1 IF countit=1000 then [end] GOTO [start] [end] B3=B3+(population/(1.82 * 10^12)) B3=B3*1.01 print B3 end
answer: 1.33938503*10e18 adding this to 5.80922992*10e13 gives: 1.3394431222992*10e18 or about 1.34*10e18 total 3-B produced in "year two"
|