为什么在Mathematica 7.0中输入如下命令,不能正确显示动画图形?Do[Plot[x^2 + Sin[c*x],{x,-3,3},PlotRange -> {-1,5}],{c,1,5,1/3}]

来源:学生作业帮助网 编辑:作业帮 时间:2024/06/12 17:27:32

为什么在Mathematica 7.0中输入如下命令,不能正确显示动画图形?
Do[Plot[x^2 + Sin[c*x],{x,-3,3},PlotRange -> {-1,5}],{c,1,5,
1/3}]

你用Manipulate做一下
Manipulate[
Plot[x^2 + Sin[c*x], {x, -3, 3}, PlotRange -> {-1, 5}], {c, 1, 5,
1/3}]