Path: news.mathworks.com!not-for-mail
From: "David Edson" <tojadeb@example.com>
Newsgroups: comp.soft-sys.matlab
Subject: calculating the volume of a given shape
Date: Wed, 15 Apr 2009 14:17:02 +0000 (UTC)
Organization: KU LEUVEN
Lines: 13
Message-ID: <gs4q8u$kg1$1@fred.mathworks.com>
Reply-To: "David Edson" <tojadeb@example.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239805022 20993 172.30.248.35 (15 Apr 2009 14:17:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 15 Apr 2009 14:17:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1067486
Xref: news.mathworks.com comp.soft-sys.matlab:532931


Hello Dears,

I have a shape defined by the following formula?
-pi/2<theta<pi/2; 0<beta<2pi

x=rx.*cos(theta).*cos(beta);
y=ry.*sin(theta)+(2.^((-2*theta))+2.^((0.5*theta)));           
z=rz.*cos(theta).*sin(beta);

how could I calculate the volume?

thanks