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


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

NDSolve with NIntegrate where Integral is a function of x

From Nikthecrab <nikhil.dexter@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject NDSolve with NIntegrate where Integral is a function of x
Date 2012-07-19 07:50 +0000
Message-ID <ju8e8b$98m$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


I am trying to solve a differential equation using NDSolve . It is of the form:

NDSolve[{y'[x]=f(x)*Integrate[g(x,t),{t,0,infinity}],y[0]=0.04},y[x],{x,0,10}]

here f is a function of x and g is a function of x and a dummy variable t for integration.
The integral cannot be solved directly in terms of x.So I tried using NIntegrate.But NIntegrate requires x to be a number while NDSolve clearly has to vary x from 0 to 10. Can anyone suggest a suitable solution to this problem? 

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


Thread

NDSolve with NIntegrate where Integral is a function of x Nikthecrab <nikhil.dexter@gmail.com> - 2012-07-19 07:50 +0000
  Re: NDSolve with NIntegrate where Integral is a function of x psycho_dad <s.nesseris@gmail.com> - 2012-07-20 07:56 +0000

csiph-web