Say I have a function
f(x,y,theta,xi) = x*y*c*theta*xi;
where c
is a function of theta
and xi
and is predefined as
c:=theta*xi+theta^xi^2;
so f
is effectively a function of x
, y
, theta
, xi
.
when I do the
Plot3D[f[x,y,0.5,0.5],{x,0,1},{y,0,1}]
Mathematica could not automatically calculate the value of c.
How do I plot a function of this sort?
That is, it contains a parameter which is a expression of the variables.
Thank you.
f
. How it is done will affect how it works. Probably, the global variabletheta
in the definition ofc
is not the same as the local parametertheta
in the definition off
. $\endgroup$