maomao_hhu 发表于 2012-11-11 21:06

DEplot运行后的error:system must have same parameters

本帖最后由 maomao_hhu 于 2012-11-11 21:09 编辑

因为是非线性微分方程组的,所以老师说用deplot算一个six equations each with second order的微分方程组,
每个方程类似于:
de1 := diff(x1(t), t, t)+(1/2)*(sqrt((x3(t)-x1(t))^2+(y3(t)-y1(t))^2)-2)*(-2*x3(t)+2*x1(t))/sqrt((x3(t)-x1(t))^2+(y3(t)-y1(t))^2)+(1/2)*(sqrt((x2(t)-x1(t))^2+(y2(t)-y1(t))^2)-2)*(-2*x2(t)+2*x1(t))/sqrt((x2(t)-x1(t))^2+(y2(t)-y1(t))^2) = diff(x2(t), t)-2*(diff(x1(t), t))+diff(x3(t), t)
组成系统:
sys := {de1, de2, de3, de4, de5, de6}

最后输入命令:
DEplot(, , t = 0 .. 100, [])

结果出现:
Error, (in DEtools/DEplot) system must have same number of dependent variables as DE's.
我觉得变量没有问题啊,求各位高手指教

feiyuzhen 发表于 2012-11-12 19:45

把具体方程列出来看看

www.zdscj.com| 发表于 2012-11-15 09:47

来看一下{:{39}:}
页: [1]
查看完整版本: DEplot运行后的error:system must have same parameters