감동, 마음이 움직이는 것

[mathematica] $Assumptions and parameter sets 본문

Tips (Utility, Computer Language, and etc.)

[mathematica] $Assumptions and parameter sets

Struggler J. 2018. 2. 23. 19:08

Using $Assumptions ={assumptions} reduce the calculation time! Also, give a neat solution without conditions.

$Assumptions = {b > 0, c > 0, d > 0, \[Theta] > 0, \[Theta] < 1,   u > 1, v > 0, i > 0, \[Lambda]b > r, r > 0, a > 0}


Also, when I want to use parameter sets, it is much easier to use set.

set = {\[Lambda]b -> 0.9, r -> 0.5, a -> 1, \[Theta] -> 0.05};


[Example of Usage ]

IB3L = Limit[bInt, M -> Infinity]

Plot[IB3L /. set, {c, 0, a /. set}]