我想用SciPy
解一个分段微分方程组(物理模拟)
以下是方程式和初始条件(在Mathematica中)
https://i.stack.imgur.com/s2ILs.png
但是,它只是部分工作,因为我无法增加NDSolveValue的步长来防止错误,因此我想知道是否可以在Python中这样做。(或者,如果你能用Mathematica解决这个问题,那也太好了。)
这里有一个关于Mathematica StackExchange的类似问题:https://mathematica.stackexchange.com/questions/236893/solving-piecewise-differential-equation
目前没有回答
相关问题 更多 >
编程相关推荐