Re: Interpolating Function

• To: mathgroup at smc.vnet.net
• Subject: [mg74217] Re: [mg74170] Interpolating Function
• From: Bob Hanlon <hanlonr at cox.net>
• Date: Wed, 14 Mar 2007 03:57:48 -0500 (EST)

```\!\(\*
RowBox[{
RowBox[{"f", "=",
RowBox[{"x", "/.",
RowBox[{
RowBox[{"NDSolve", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{
SuperscriptBox["x", "=E2=80=B2",

MultilineFunction->None], "[", "t", "]"}], "\[Equal]", \(x[
t]\)}], ",", \(x[1] == 2\)}], "}"}], ",", "x", ",", \({=
t,
0, 3}\)}], "]"}], "[", \([1]\), "]"}]}]}], ";"}]\)

f[2.5]

8.96338

Plot[f[t],{t,0,3}];

Bob Hanlon

---- "amitsoni.1984 at gmail.com" <amitsoni.1984 at gmail.com> wrote:
> Hi,
>
> I used NDSolve to solve an ODE(f = NDSolve[.....] ) and got the result
> as an Interpolating function x->InterpolatingFunction[...]. It just
> gives the range of solution x. How can I plot or get the values of
> solution x?
>
> Thank you,
> Amit
>
>

```

• Prev by Date: packages/notation/errors
• Next by Date: Re: How do I write tabular output?
• Previous by thread: Re: Interpolating Function
• Next by thread: Re: Interpolating Function