Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Using functions Mathematica gives you' topicStudent Support Forum > General > Archives > "Using functions Mathematica gives you"

Next Comment >Help | Reply To Topic
Author Comment/Response
Conor Lawless
10/18/99 06:52am

Given the function: f[x_, y_] := x^4 - 2y*x^2 + x^2 + y^2 - 2*x + 5, you can ask Mathematica to differentiate with respect to y (keeping x constant) ie df(x,y)/dy = -2x^2 + 2y

How can you then use this function by substituting numbers directly? For instance, if you type f[1,2], you get 5, but if you do g[x_,y_]:= df(x,y)/dy , and then type g[1,2], it says 1 is not a variable. How can you get around this?

CONOR.


URL: ,

Subject (listing for 'Using functions Mathematica gives you')
Author Date Posted
Using functions Mathematica gives you Conor Lawless 10/18/99 06:52am
Re: Using functions Mathematica gives you Forum Modera... 10/18/99 07:02am
Next Comment >Help | Reply To Topic