Maple 可以画出曲线 y=f(x) 与 x 轴之间的区域,其命令是:
plot(f(x), x=a…b, filled =true):
其中 filled =true 表示要填充区域。
例1.8.1 作出下列曲线与 x 轴之间的区域:
解 输入以下命令:
with(plots):
a:=-3: b:=3:
f:=x->x ^ 3 +2 * x^2-5*x:
L:=plot(f(x),x=a…b,thickness=3,filled=true,color=grey):
display(L, axes=normal);
输出图形:
若要画出曲线,则输入: