Question: Plot3d. Please help me troubleshoot my input.

Hi,

As a piece of work, I am required to define a function, and plot it in 3d.

The problem is regarding the 'gamma' function. We have to define it as:

myGamma:= x->int(exp(-t)*t^(x-1),t=0..infinity);


Then a later part of the questions asks you to define phi as the following function:

And then draw a surface plot of this. 

My input is: plot3d(phi,x,n);

And the output is: Error, (in plot3d) bad range arguments: x, n

Also when I try to define the range, the error is then: Error, (in plot3d) expected ranges but received equations x = 0 .. 20 and n = 1 .. 20

Any help would be HUGELY appreciated.

Thanks
Tom

Please Wait...