+15 XP
Code It: The Euler Loop
Question 1 of 2
Inside the loop we compute each next value from the current one. Fill in the dynamics term for the population step (a = 0.3).
python
for k in range(n-1):
p[k+1] = p[k] + dt * ()Code It: The Euler Loop
Question 1 of 2
Inside the loop we compute each next value from the current one. Fill in the dynamics term for the population step (a = 0.3).
for k in range(n-1):
p[k+1] = p[k] + dt * ()