找回密码
 注册
分享 一道DAE的maple解答和mmtc解答
TBE_Legend 2010-4-15 10:37
一道DAE的maple解答和mmtc解答
Clear SetOptions ; sys = {a' == -(a /10) + 10000 b c , b' == a /10 - 10000 b c - 10000000 b ^2, a + b + c == 1, a == 1, b == 0}; sol = First ]; Plot /. sol, {t, 0, 40000}] Plot , b , c } /. sol], {t, 0, 40000}] http://ww ...
个人分类: mmtc_maple|1156 次阅读|0 个评论
分享 14 FindMinimum 有约束可不不指定初始值;只能做线性规划问题的整数优化;自变量范围
TBE_Legend 2010-2-1 09:40
14 FindMinimum 有约束可不不指定初始值;只能做线性规划问题的整数优化;自变量范围
14 FindMinimum 有约束可不不指定初始值;只能做线性规划问题的整数优化;自变量范围的制定;
个人分类: mmtc_maple|1150 次阅读|0 个评论
分享 13. Expression ( NOT LIST ) 的 Negative Level 不是倒着数就行
TBE_Legend 2010-1-29 15:26
13. Expression ( NOT LIST ) 的 Negative Level 不是倒着数就行
个人分类: mmtc_maple|1016 次阅读|0 个评论
分享 If 的不完整形式 ( If[ # > 0 , Sow[ # ] ] ; #^2 )&
TBE_Legend 2010-1-29 09:21
If 的不完整形式 ( If[ # > 0 ,  Sow[ # ] ] ;  #^2 )&
个人分类: mmtc_maple|1323 次阅读|1 个评论
分享 10. expressions with heads that are not symbols
TBE_Legend 2010-1-24 10:33
10. expressions with heads that are not symbols f f This function has head f . You can use head like this to represent indexed functions. (a+b) You can use any expression as a head. Just remember to put it in necessary parenthese. 常见 ...
个人分类: mmtc_maple|1010 次阅读|0 个评论
分享 09 A slight difference between Map and Apply
TBE_Legend 2010-1-20 10:07
09 A slight difference between Map and Apply
-------------------------------------------------------------
个人分类: mmtc_maple|445 次阅读|0 个评论
分享 5 许多函数复合在一起时,如何写程序才能使程序更具可读性?
TBE_Legend 2010-1-5 13:19
5 许多函数复合在一起时,如何写程序才能使程序更具可读性?
这样可读性更好? http://blog.wolfram.com/2009/03/19/pattern-matching-your-source-codehow-wolfram-workbench-integrates-mathematica-development-tools/
个人分类: mmtc_maple|300 次阅读|0 个评论
分享 2 StepMonitor and EvaluationMonitor can't stop NDSolve process
TBE_Legend 2009-12-30 20:22
2 StepMonitor and EvaluationMonitor can't stop NDSolve process
1. NDSOlve 中,外层 Metod, EventMethod, 内层 2 两个 Method 之间的关系。 Throw 可以抛出一个表达式,但相应的 Catch 只能接到这个表达式的值。 ...
个人分类: mmtc_maple|381 次阅读|0 个评论
分享 are dummy variables are relly dummy in mmtc?
TBE_Legend 2009-12-26 16:06
In := g := Integrate s^x, {s, 0, 1}] g := h s^x, {s, 0, 1}] g := h s^x] g g Out = h ] (* This is what we want *) Out = h ] (* This is not what we expect *) Then How to handle this kind of situation? Module it ! mmtc then automatically rename the inside dummy variables wit ...
个人分类: mmtc_maple|275 次阅读|0 个评论
分享 both mmtc and maple allow users to specify derivatives
TBE_Legend 2009-12-14 10:20
both mmtc and maple allow users to specify derivatives of objective functions in alocal optimization problem. f := Cos + Sin fx := 2 x Cos - 2 x Sin ; fy := 2 y Cos + 3 Sin ; FindMinimum , {x, y}, Gradient: {fx , fy }] Optimization al ...
个人分类: mmtc_maple|362 次阅读|0 个评论

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

GMT+8, 2024-3-29 00:45 , Processed in 0.016119 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

返回顶部