2023美赛C题编程部分 2024-1-13 21:04 | 177 | 0 | 未分类 193 字 | 5 分钟 SIR模型: import scipy.integrate import numpy as np import matplotlib.pyplot as plt # model def SIR_model(y, t, beta, gamma): S, I, R = y dS_dt = -beta * S * I dI_dt = beta * S *…