# Message Boards

0
|
3595 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
 Define In:= Clear[\[CapitalOmega]] \[CapitalOmega] = ImplicitRegion[2 <= (x^2 + y^2 + z^2) <= 4, {x, y, z}] Out= ImplicitRegion[2 <= x^2 + y^2 + z^2 <= 4, {x, y, z}]  plot it to see the thickness of the shell In:= RegionPlot3D[\[CapitalOmega], {x, -2, 2}, {y, -2, 2}, {z, -2,1/2}] During evaluation of In:= RegionPlot3D::boolf: \[CapitalOmega] must be a Boolean function. >> Out= RegionPlot3D[\[CapitalOmega], {x, -2, 2}, {y, -2, 2}, {z, -2, 1/2}]  to see nothing but an error message ... now RegionPlot3D[\[CapitalOmega], AspectRatio -> Automatic]  the good old sphere in 3D is shown and now \[CapitalOmega] is a Boolean function. The following works too In:= Clear[\[CapitalOmega]] \[CapitalOmega] = ImplicitRegion[2 <= (x^2 + y^2 + z^2) <= 4, {{x, -2, 2}, {y, -2, 2}, {z, -2, 1/2}}] Out= ImplicitRegion[2 <= x^2 + y^2 + z^2 <= 4 && -2 <= x <= 2 && -2 <= y <= 2 && -2 <= z <= 1/2, {x, y, z}] In:= RegionPlot3D[\[CapitalOmega], AspectRatio -> Automatic]