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 ...
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. 常见 ...
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 ...
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 ...