Answer:
function currentPopulation = CalculatePopulation(numGeneration, initialPopulation)
i = 1;
currentPopulation = initialPopulation;
while(i <= numGeneration)
currentPopulation = 2* currentPopulation;
i= i+1;
end
end
Explanation:
- Assign 1 to i as an initial loop value
.
- Assign initialPopulation to currentPopulation variable.
- Run the while loop until i is less than numGeneration.
- Inside the while loop, double the currentPopulation variable.
- Inside the while loop, Increment the i variable also.
Answer:
w h a t
Explanation:
ednhw kebjhb2einirolm wbyuijkm nbvfcdxswaqwse4rtgyhujikol,km mnc
wbwjidjjjabyuveuns bgucdbbchgbcnahdvyibefkjdhbvjekhjqvshkcndjjjdgguuuuuuuuuebbbbbbbbbb
xn udjncibhegwvcbhkwniwbcebh8fr2y9hjoq;1bev