Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Q: Function for volume calculation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5570] Re: [mg5515] Q: Function for volume calculation
  • From: Andrei Constantinescu <constant at athena.polytechnique.fr>
  • Date: Fri, 27 Dec 1996 01:58:52 -0500
  • Sender: owner-wri-mathgroup at wolfram.com


 It depends on the accuracy you need. A pretty rough procedure would be:

   1. Find the F(r,z) = 0 line with ContourPlot

   2. Extract the Line object from the ContourGraphics using Parts.

   3. Create an InterpolatingFunction of the type:

       r = f[z]

   4. compute the volume:

     2 Pi Integrate[ r , {r, 0, f[z]} , {z, 0, zmax} ]

 Hope that helps !

    Andrei



  • Prev by Date: mathematica for linux
  • Next by Date: Re: Re: Calculating Sums Of Roots For Trans. Functions
  • Previous by thread: Re: Q: Function for volume calculation
  • Next by thread: Solution of diff. equation i the form of list?