<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
You can use the int2d function<br>
<br>
For yopur example, the domain is defined by a single triangle:<br>
function z=f(x,y),z=3-x-y,endfunction<br>
<br>
X=[0;1;1];<br>
Y=[0;0;1];<br>
[I,e]=int2d(X,Y,f);<br>
<br>
Le 29/09/2014 00:15, Reinaldo a écrit :<br>
</div>
<blockquote
cite="mid:1411942518.78805.YahooMailNeo@web121605.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:verdana, helvetica, sans-serif;font-size:13px">
<div>Hi Scilab users,</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;">I would like to plot the following 3D
function in order to calculate the volume of that prism.</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;">"Let f(x,y) be a real function defined to
f(x,y) = 3 - x - y, which domain region on OXY plain is
limited by those functions: y = x; X-axis; and x = 1. </div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;">Plot f(x,y)".</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;">Do you know if there is a Scilab tutorial
for Calculus? </div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;">Thank you in advance.</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;">All best,</div>
<div style="color: rgb(0, 0, 0); font-size: 13px; font-family:
verdana, helvetica, sans-serif; background-color: transparent;
font-style: normal;">Reinaldo.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>