Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Integration error in 5.0?

  • To: mathgroup at
  • Subject: [mg48728] Integration error in 5.0?
  • From: "Richard Ollerton" <r.ollerton at>
  • Date: Fri, 11 Jun 2004 03:53:37 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

I used Mathematica 5.0 (Windows 2000) to find the value of an integral
representing the volume under the sphere x^2 + y^2 + z^2 = 4 and above the
cone z = 2 Sqrt(x^2 + y^2) (just to check my own calculation).  The value
given for the analytical calculation in Cartesian coordinates using
Integrate is incorrect while exactly the same integral using NIntegrate is
correct as confirmed by the equivalent version in spherical coordinates.


gives -32Pi/(3Sqrt[5])



gives 1.76889

The equivalent in spherical is correct:

Integrate[r^2 Sin[p],{t,0,2Pi},{p,0,ArcTan[1/2]},{r,0,2}]

gives 16(5-2Sqrt[5])Pi/15




Has this been noticed previously?

Richard Ollerton

  • Prev by Date: Query the paste buffer for coordinates in a graphic
  • Next by Date: Re: Creating combinations from a group of sets
  • Previous by thread: Query the paste buffer for coordinates in a graphic
  • Next by thread: Re: Integration error in 5.0?