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


Groups > comp.soft-sys.math.mathematica > #15818 > unrolled thread

Re: Problems integrating InterpolatingFunction

Started byRoland Franzius <roland.franzius@uos.de>
First post2011-01-31 08:23 +0000
Last post2011-01-31 08:23 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Problems integrating InterpolatingFunction Roland Franzius <roland.franzius@uos.de> - 2011-01-31 08:23 +0000

#15818 — Re: Problems integrating InterpolatingFunction

FromRoland Franzius <roland.franzius@uos.de>
Date2011-01-31 08:23 +0000
SubjectRe: Problems integrating InterpolatingFunction
Message-ID<ii5ri6$fht$1@smc.vnet.net>
Am 30.01.2011 01:43, schrieb Sergio Miguel Terrazas Porras:
> 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
>

Yoy can integrate InterpolatingFunction explitely using Derivative of 
negative order

eg the critical soltion to the equations of motion of an anharmonic pendulum

X[t_] = x[t] /.
    NDSolve[{x''[t] == -x[t]^3 + x[t], x'[0] == 0, x[0] == 1.42},
     x[t], {t, 0, 100}] // First

Y[t_]=Derivative[-1][Y][t]

-- 

Roland Franzius

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web