[Scilab-users] Plotting Inequalities 3D

Samuel Gougeon sgougeon at free.fr
Sat Oct 20 23:27:26 CEST 2012


Le 20/10/2012 17:42, Ercan.Ulupinar at web.de a écrit :
> Hi,
> how can i plot(3d) these inequations? :
> x^2 + y^2 <= 1 && 0 <= z <= x^2 +y^2
x^2 + y^2 <= 1 : is the filled cylinder along (Oz), of radius r=1

let's set r^2 = x^2+y^2
then zp(r) = x^2 +y^2 = r^2  is the vertical paraboloid  with minimum at 
(0,0)
So 0 <= z <= zp(r)  is the filled paraboloid bowl based on the (Oxy) plane.
The first condition limits the bowl within the cylindrical 0<= r <= 1 part.

Then using plot3d() becomes easy ;)

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121020/070f8ffa/attachment.htm>


More information about the users mailing list