Wolfram mathematica Mathematica:如何计算这个函数?

Wolfram mathematica Mathematica:如何计算这个函数?,wolfram-mathematica,evaluate,mathematica-8,Wolfram Mathematica,Evaluate,Mathematica 8,我需要在2D中计算一个函数,但它有三个未知数,两个参数(x,y)和alpha。我需要计算{0100}之间的x和y,而α在{0,1}之间。 函数为:f(x,y)=x^(a)*y^(1-a) 谢谢大家! 不确定“在2D中评估函数”是什么意思。一些选择 f[x_, y_, a_] := x^a y^(1 - a) 为a的不同值生成绘图 Table[Plot3D[f[x, y, a], {x, 0, 100}, {y, 0, 100}, PlotLabel -> "a

我需要在2D中计算一个函数,但它有三个未知数,两个参数(x,y)和alpha。我需要计算{0100}之间的x和y,而α在{0,1}之间。 函数为:f(x,y)=x^(a)*y^(1-a) 谢谢大家!

不确定“在2D中评估函数”是什么意思。一些选择

f[x_, y_, a_] := x^a y^(1 - a)
a的不同值生成绘图

Table[Plot3D[f[x, y, a], {x, 0, 100}, {y, 0, 100}, 
        PlotLabel -> "a = " <> ToString@a], {a, 0, 1, .1}] //
  Partition[#, UpTo[4]] & //
  Grid

ContourPlot3D[f[x, y, a], {x, 0, 100}, {y, 0, 100}, {a, 0, 1}, Contours -> 5]