Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'plot3D with a function in a function' topicStudent Support Forum > General > "plot3D with a function in a function"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Xavier
09/27/08 12:42pm

Hey,

You can try this:

Plot3D[With[{$Var = 500 - x}, (Exp[n]) (x $Var)^n/n^n], {x, 0,
500}, {y, 0, 500}]

BUT:
- your interval for y must be set manually so that it fits the values you get with your function. I mean that if your function had been x+100, your interval for y should have been {100, 600}. So you must find that yourself.
- $Var is a local name, pretty ugly, so you can change it if you want ^^

If you have any question, please ask.
Cheers,

Xavier

URL: http://zavou.zxr.fr,

Subject (listing for 'plot3D with a function in a function')
Author Date Posted
plot3D with a function in a function oconnorap 09/26/08 6:24pm
Re: plot3D with a function in a function Xavier 09/27/08 12:42pm
Re: Re: plot3D with a function in a function oconnorap 09/28/08 10:00am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic