Re: NSolve an equation involving NIntegrate
- To: mathgroup at smc.vnet.net
- Subject: [mg55702] Re: [mg55699] NSolve an equation involving NIntegrate
- From: Chris Chiasson <chris.chiasson at gmail.com>
- Date: Mon, 4 Apr 2005 00:59:09 -0400 (EDT)
- References: <200504030951.FAA15780@smc.vnet.net>
- Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
Set up an equivalent differential equation (integration is just a special case of a differential equation) and use NDSolve. On Apr 3, 2005 5:51 AM, isolanoster at gmail.com <isolanoster at gmail.com> wrote: > Hi all, > > I need to numerically solve an equation involving an integral. I'm > currently doing the following: > > NSolve[NIntegrate[ f[s, x] , {s, 1, 10}] == 0, x ] (*) > > where f[s, x] is a function that can be only be numerically integrated > with respect to s. > > The problem with (*) is that NSolve does not pass the numerical value > of x to NIntegrate. What is the best way to solve the problem? > > Thank you! > > David > > -- Chris Chiasson Kettering University Mechanical Engineering Graduate Student 1 810 265 3161
- References:
- NSolve an equation involving NIntegrate
- From: "isolanoster@gmail.com" <isolanoster@gmail.com>
- NSolve an equation involving NIntegrate