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