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.
- Follow-Ups:
- Re: How to evaluate a NIntegrate expression properly
- From: Daniel Lichtblau <danl@wolfram.com>
- Re: How to evaluate a NIntegrate expression properly