HW1 Part 3
#192
Replies: 1 comment 2 replies
-
the function
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`dt = 20
k=0.013
t_euler = np.arange(1900, 2021, dt)
p_euler = np.zeros(len(t))
p_euler[0] = pop[0]
for i in range(1, len(t)):
p_euler[i] = p_euler[i-1] + k * p_euler[i-1] * dt`
error is in the for loop saying 'numpy.ndarray' object is not callable and I'm having issues in other question on part 3 any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions