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


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

Re: Integrating Interpolating function

From DrMajorBob <btreat1@austin.rr.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Integrating Interpolating function
Date 2011-08-03 23:25 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j1clco$g69$1@smc.vnet.net> (permalink)
References <201108031107.HAA10850@smc.vnet.net>

Show all headers | View raw


f = f /. sol
Integrate[t*f[t],{t,0,tend}]

Bobby

On Wed, 03 Aug 2011 06:07:02 -0500, math_new <dom.woe@gmail.com> wrote:

> Hi,
>
> I solve a system of differential equations using NDSolve up to time
> t_end. which gives me something like
>
> sol = {f->InterpolatingFunction}
>
> Now I want to do an integral like that
>
> Integrate[t*f[t],{t,0,tend}]
>
> but it won't be computed. What am I doing wrong?
>
> Cheers
>


-- 
DrMajorBob@yahoo.com

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


Thread

Re: Integrating Interpolating function DrMajorBob <btreat1@austin.rr.com> - 2011-08-03 23:25 +0000

csiph-web