MathGroup Archive 2003

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

Search the Archive

How to evaluate a NIntegrate expression properly

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39698] How to evaluate a NIntegrate expression properly
  • From: Yong Xiao <hardes at MIT.EDU>
  • Date: Mon, 3 Mar 2003 04:24:41 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
I have a problem regarding to how to use NIntegrate and NSolve together.
A sampe is as follwing:

f[y_] := NIntegrate[y^2*x^2, {x, 0, 3}]
NSolve[f[y] == 20, y]

Complaint:
\!\(NIntegrate::"inum" \(\(:\)\(\ \)\) "Integrand \!\(2.25`  \\\\  y\^2\)
is
    not numerical at \!\({x}\) = {1.5`}."\)

Thanks in advance.

X.Y.



  • Prev by Date: Is it doable in Mathematica? How?
  • Next by Date: Re: Caching of values and delayed sets
  • Previous by thread: Re: Is it doable in Mathematica? How?
  • Next by thread: Re: How to evaluate a NIntegrate expression properly