简体   繁体   English

Python 或 SageMath 中耦合非线性微分方程的解?

[英]Solution for coupled non linear differential equation in Python or SageMath?

How to solve four first order coupled non-linear differential equations using python or SageMath?如何使用 python 或 SageMath 求解四个一阶耦合非线性微分方程? Please suggest some references if available.如果有的话,请推荐一些参考资料。 Thank you very much for answering.非常感谢您的回答。

You can use Python and the scipy module's odeint, import as follows:可以使用 Python 和 scipy 模块的 odeint,导入如下:

from scipy.integrate import odeint

A fun example is that of "Modeling a zombie apocalypse, see: https://scipy-cookbook.readthedocs.io/items/Zombie_Apocalypse_ODEINT.html一个有趣的例子是“模拟僵尸启示录,请参阅: https://scipy-cookbook.readthedocs.io/items/Zombie_Apocalypse_ODEINT.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM