mathematica 求心形封闭图形的体积
来源:学生作业帮 编辑:大师作文网作业帮 分类:数学作业 时间:2024/11/10 18:30:06
mathematica 求心形封闭图形的体积
心形封闭图形的函数是:(x^2 + (9 y^2)/4 + z^2 - 1)^3 - x^2 z^3 - (9 y^2 z^3)/
80 == 0
RegionPlot3D[(x^2 + (9 y^2)/4 + z^2 - 1)^3 - x^2 z^3 - (9 y^2 z^3)/
80 == 0,{x,-1.5,1.5},{y,-1.5,1.5},{z,-1.5,1.5},
PlotPoints -> 30,Axes -> False,Lighting -> False,
ContourStyle -> {RGBColor[1,0.0,0.0]}]
求该封闭图形的体积,尝试了好久.
求大神指点
只有20的财富值.全给了
心形封闭图形的函数是:(x^2 + (9 y^2)/4 + z^2 - 1)^3 - x^2 z^3 - (9 y^2 z^3)/
80 == 0
RegionPlot3D[(x^2 + (9 y^2)/4 + z^2 - 1)^3 - x^2 z^3 - (9 y^2 z^3)/
80 == 0,{x,-1.5,1.5},{y,-1.5,1.5},{z,-1.5,1.5},
PlotPoints -> 30,Axes -> False,Lighting -> False,
ContourStyle -> {RGBColor[1,0.0,0.0]}]
求该封闭图形的体积,尝试了好久.
求大神指点
只有20的财富值.全给了
好像只能求出数值积分,精确解求不出来
NIntegrate[
Boole[(x^2 + (9*y^2)/4 + z^2 - 1)^3 - x^2*z^3 - (9*y^2*z^3)/80 <=
0], {x, -1.3, 1.3}, {y, -1.5, 1.5}, {z, -1.5, 1.5}]
结果 3.3451
NIntegrate[
Boole[(x^2 + (9*y^2)/4 + z^2 - 1)^3 - x^2*z^3 - (9*y^2*z^3)/80 <=
0], {x, -1.3, 1.3}, {y, -1.5, 1.5}, {z, -1.5, 1.5}]
结果 3.3451