Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4332

FunctionInterpolation and NIntegrate

From gac <g.crlsn@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject FunctionInterpolation and NIntegrate
Date 2011-08-11 11:57 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j20g47$8vd$1@smc.vnet.net> (permalink)

Show all headers | View raw


f[r_] := NIntegrate[r + s , {s, 0, 1}]
g = FunctionInterpolation[f[r], {r, 0, 1}]

Can anyone explain why this works, yet I get the msg: 

NIntegrate::inumr: "The integrand r+s has evaluated to non-numerical values for all sampling points in the region with boundaries {{0,1}}."

Can the statements be reformed to avoid the msg?

Thanks.

Glenn

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

FunctionInterpolation and NIntegrate gac <g.crlsn@gmail.com> - 2011-08-11 11:57 +0000
  Re: FunctionInterpolation and NIntegrate "Kevin J. McCann" <kjm@KevinMcCann.com> - 2011-08-12 09:04 +0000

csiph-web