Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'FunctionExpand[] for complicated function?' topicStudent Support Forum > General > "FunctionExpand[] for complicated function?"

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'FunctionExpand[] for complicated function?')
Author Date Posted
FunctionExpand[] for complicated function? yosyp 05/09/12 9:51pm
Re: FunctionExpand[] for complicated function? Bill Simpson 05/11/12 11:49am
Re: FunctionExpand[] for complicated function? jf 05/11/12 9:26pm
Next Comment >Help | Reply To Topic