For Programmers: Free Programming Magazines  


Home > Archive > Matlab > December 2005 > how to use triplequad with cylindrical coordinate









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author how to use triplequad with cylindrical coordinate
Ana Claudia

2005-12-12, 7:24 pm

Hi all,

Does anyone knows how to calculate a triple integral in cylindrical
coordinates using triplequad? In which order must I give the limits?
John D'Errico

2005-12-13, 8:19 am

In article <ef1ea04.-1@webx.raydaftYaTP>,
"Ana Claudia" <cacaussouza@yahoo.com.br> wrote:

> Does anyone knows how to calculate a triple integral in cylindrical
> coordinates using triplequad? In which order must I give the limits?


In any order you wish?

You define the function to be called as a function
of its arguments. So you choose how the arguments
are defined, as well as their bounds. The burden
is on you to be consistent.

Do remember that a volume integral in cylindrical
coordinates will have volume element r*dr*dtheta*dz.
Don't forget the r.

HTH,
John D'Errico


--
The best material model of a cat is another, or preferably the same, cat.
A. Rosenblueth, Philosophy of Science, 1945

Those who can't laugh at themselves leave the job to others.
Anonymous
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com