注册 登录
Simwe仿真论坛(forum.simwe.com),CAE/CAD/CAM/,FEA/FEM/有限元分析论坛---(手机验证注册) 返回首页

TBE_Legend的个人空间 https://home.simwe.com/?355196 [收藏] [复制] [分享] [RSS]

日志

一道DAE的maple解答和mmtc解答

已有 1157 次阅读2010-4-15 10:37 |个人分类:mmtc_maple|

Clear["Global`*"]
SetOptions[Plot, PlotRange -> Full, Frame -> True];
sys = {a'[t] == -(a[t]/10) + 10000 b[t] c[t],
   b'[t] == a[t]/10 - 10000 b[t] c[t] - 10000000 b[t]^2,
   a[t] + b[t] + c[t] == 1, a[0] == 1, b[0] == 0};
sol = First[NDSolve[sys, {a, b, c}, {t, 0, 40000}]];
Plot[a[t] /. sol, {t, 0, 40000}]
Plot[Evaluate[{a[t], b[t], c[t]} /. sol], {t, 0, 40000}]
 
 
 
 
 
 
 

路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-18 22:35 , Processed in 0.056190 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

返回顶部