       Re: Output comes same as input in Mathematica

• To: mathgroup at smc.vnet.net
• Subject: [mg93447] Re: Output comes same as input in Mathematica
• From: "Nasser Abbasi" <nma at 12000.org>
• Date: Sat, 8 Nov 2008 04:00:17 -0500 (EST)
• References: <gf171s\$ibp\$1@smc.vnet.net>
• Reply-to: "Nasser Abbasi" <nma at 12000.org>

```"Akshay" <a.akshay87 at gmail.com> wrote in message
news:gf171s\$ibp\$1 at smc.vnet.net...
>i am new to mathematica and am using mathematica 5.0.
> i need to use a function Pade for a project.
>
> in mathematica help browser, i found a few relevant illustrations. but
> when i give the same command as in any of the illustrations, the output
> comes out to be the same command, instead of the output shown in the
> illustration.
>
> the illustration is
> In=Pade[Cos[x], {x, 0, 2, 4}]
> Out=(1-61*(x^2)/150)/(1+(7*(x^2)/75)+((x^4)/200))
>
> here's what i get
> In=Pade[Cos[x], {x, 0, 2, 4}]
> Out=Pade[Cos[x], {x, 0, 2, 4}]
>
> somebody please tell me how i can get the result.
>

-------------------------------
During evaluation of In:= General::obspkg:Calculus`Pade` is now obsolete.
The legacy version being loaded may conflict with current Mathematica
functionality. See the Compatibility Guide for updating information. >>
In:= Pade[Cos[x], {x, 0, 2, 4}]
Out= (1 - (61*x^2)/150)/(1 + (7*x^2)/75 + x^4/200)

----------------------------

In:= PadeApproximant[Cos[x], {x, 0, {2, 4}}]
Out= (1 - (61*x^2)/150)/(1 + (7*x^2)/75 + x^4/200)

```

• Prev by Date: Re: Output comes same as input in Mathematica
• Next by Date: Re: Output comes same as input in Mathematica
• Previous by thread: Re: Output comes same as input in Mathematica
• Next by thread: Re: Output comes same as input in Mathematica