Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

ContourPlot3D and NIntegrate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100464] ContourPlot3D and NIntegrate
  • From: Henning Heiberg-Andersen <henning.heibergandersen at gmail.com>
  • Date: Fri, 5 Jun 2009 02:59:52 -0400 (EDT)

Hi,

I don't understand what goes wrong in this sequence:

*

In[1]:=VV[x_,y_,z_]:=

Module[{u,phi},NIntegrate[(x^2+y^2+z^2)^(-3)*u*phi,{u,0,1},{phi,0,2Pi}]

]

In[2]:=

ContourPlot3D[VV[x,y,z],{x,1,2},{y,1,2},{z,1,2}],

AND THEN:

NIntegrate::inumr: The integrand \[NoBreak](phi$12637167
u$12637167)/(x^2+y^2+z^2)3\[NoBreak] has evaluated to non-numerical values
for all sampling points in the region with boundaries
\[NoBreak]{{0,1},{0,6.28319}}\[NoBreak].
=87<http://reference.wolfram.com/mathematica/ref/message/NIntegrate/inumr.html>

Can anybody help?

Sincerely,

Henning Heiberg-Andersen




  • Prev by Date: Re: what is my error?
  • Next by Date: Re: Print numbers to ASCII file with precise column widths
  • Previous by thread: Re: Problem with plotting and simplifying a function
  • Next by thread: Re: ContourPlot3D and NIntegrate