| Author |
Comment/Response |
yosyp
|
05/09/12 9:51pm
I have a variable (or function) with sums/ratios such as:
r = ((m + b)/c) + (k*e)/(5+e);
where each of the variables (m, b, c, k, etc.) are functions themselves such as
m = cos(2f);
b = sqrt[5+rf^2];
etc.
and finally each of those functions (f, rf, etc.) are variables that equal real numbers (like 5, 534, etc).
Is it possible to call some Mathematica function that expands the variable r all the way through to the "first principles" of each of the variables (and do as many substitutions as necessary)?
I tried FunctionExpand[] and it works in simple cases, but does not behave as such in more complicated cases.
URL: , |
|