我不明白为什么我有这个错误..。以下是代码:
from scipy.integrate import solve_ivp
def exponential_decay(t, y): return -0.5 * y
sol = solve_ivp(exponential_decay, [0, 10], [2, 4, 8])
print(sol.t)
我使用python 3.2.8
发布于 2018-05-11 09:16:10
https://stackoverflow.com/questions/50288685
复制相似问题