用mathematica画出z=sin(x^2+y^2)在-5

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 05:42:56

用mathematica画出z=sin(x^2+y^2)在-5
用mathematica画出z=sin(x^2+y^2)在-5

用mathematica画出z=sin(x^2+y^2)在-5
Plot3D[Sin@(x^2 + y^2),{x,-5,5},{y,-5,5},PlotPoints -> 40]
ContourPlot[Sin@(x^2 + y^2),{x,-5,5},{y,-5,5},PlotPoints -> 40]
DensityPlot[Sin@(x^2 + y^2),{x,-5,5},{y,-5,5},PlotPoints -> 40]
要是觉得出图质量不够就把PlotPoints再调高点.

mathematica画出z=sin(x^2+y^2)在-5<=x<=5,-5<=y<=5的图形,等高线图,和密度图懂了吧