Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15692
| Path | csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!aioe.org!feeder.news-service.com!multikabel.net!newsfeed10.multikabel.net!feed.xsnews.nl!border-1.ams.xsnews.nl!206.55.64.80.MISMATCH!newspump.sol.net!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail |
|---|---|
| From | Gary Wardall <gwardall@gmail.com> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Problems integrating InterpolatingFunction |
| Date | Sun, 30 Jan 2011 08:32:38 +0000 (UTC) |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <ii37n6$41o$1@smc.vnet.net> (permalink) |
| References | <ii2c82$ra6$1@smc.vnet.net> |
| Lines | 46 |
| NNTP-Posting-Date | 30 Jan 2011 08:36:23 GMT |
| NNTP-Posting-Host | 30850ba9.news.twtelecom.net |
| X-Trace | DXC=TH<PoC0N7fbB0NmY4I[PAgC_A=>8kQj6mY;@_o827nGcWI0BMkMDI1jR`?7ATL[?ek[97JTUV2_Zf |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | csiph.com comp.soft-sys.math.mathematica:15692 |
Show key headers only | View raw
On Jan 29, 6:43 pm, Sergio Miguel Terrazas Porras <sterr...@uacj.mx> wrote: > Hello group, > > I use NDSolve for a nonlinear differential equation, and I get an InterpolatingFunction, as expected. > > I can plot it, evaluate it, etc. > > The problem I have is that now I need to integrate 1/(the square of the InterpolatingFunction), and I get nothing but the input back. > > Any ideas? > > Thanks in advance. > > Sergio Terrazas I'm a bit rusty with my ODE theory but you might try restating your problem in terms of a system of ODE's. Suppose: y1=92=f(x) & f(x0)=y10 (The function you used with NDSolve on originally.) With: y2=Integral( 1/(f(x)^2 ) (The function you really want at the end.) So: y2=92=1/(y1)^2 Then the system to solve would be: y1=92=f(x) & y1(x0)=y10 y2=92=1/(y1)^2 & y2(x0)=0 I hope this or a some variation should be of some help. Gary Wardall
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Problems integrating InterpolatingFunction Gary Wardall <gwardall@gmail.com> - 2011-01-30 08:32 +0000
csiph-web