美丽的Mathematica方程式

下图是Mathematica根据输入的方程式绘制出来的图形,如果家里有小孩让他们去玩这个软件或许可能激发他们学习数学的兴趣?

Mathematica{#liuzhoou}

输入如下代码后按Shift+return:

ContourPlot3D[(x^2 + 9/4 y^2 + z^2 - 1)^3 - x^2 z^3 - 9/80 y^2 z^3 ==
0, {x, -1.5, 1.5}, {y, -2, 2}, {z, -1.5, 1.5},
PlotPoints -> {3, 3, 3}, Axes -> True,
ContourStyle -> {RGBColor[1, 0.4, 0.7]}]

推荐:matrix67的博客

Published on May-28 17:41
blog comments powered by Disqus