How might I recreate this ice cream using Plot3D given:
cone = sqrt(x^2 + y^2)
and below the spherical cap:
x^2 + y^2 + z^2 = 50
How might I recreate this ice cream using Plot3D given:
cone = sqrt(x^2 + y^2)
and below the spherical cap:
x^2 + y^2 + z^2 = 50
Plot3D[{2*Sqrt[x^2 + y^2]-4, Sqrt[4 - x^2 - y^2]}, {x, -2, 2}, {y, -2, 2},
BoxRatios -> {1, 1, 2}]
Show[Graphics3D[{Yellow, Cone[{{0, 0, 1}, {0, 0, 0}}, 1]}], Plot3D[Sqrt[1 - x^2 - y^2] + 1, {x, -2, 2}, {y, -2, 2}, RegionFunction -> Function[{x, y, z}, x^2 + y^2 <= 1], Mesh -> 8, BoxRatios -> Automatic, MeshShading -> {{Yellow, Orange}, {Pink, Red}}]]or usePlot3D[Sqrt[x^2 + y^2], {x, -1, 1}, {y, -1, 1}, PlotRange -> {0, 1}]for the cone. – Steffen Jaeschke Mar 23 '20 at 09:10