Re: Output comes same as input in Mathematica

*To*: mathgroup at smc.vnet.net*Subject*: [mg93453] Re: [mg93420] Output comes same as input in Mathematica*From*: Bob Hanlon <hanlonr at cox.net>*Date*: Sat, 8 Nov 2008 04:01:22 -0500 (EST)*Reply-to*: hanlonr at cox.net

Prior to Version 6 you need to load a package Needs["Calculus`Pade`"] Pade[Cos[x], {x, 0, 2, 4}] (1 - (61*x^2)/150)/(x^4/200 + (7*x^2)/75 + 1) In version 6 PadeApproximant[Cos[x], {x, 0, {2, 4}}] (1 - (61*x^2)/150)/(x^4/200 + (7*x^2)/75 + 1) Bob Hanlon ---- Akshay <a.akshay87 at gmail.com> wrote: ============= 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[1]=Pade[Cos[x], {x, 0, 2, 4}] Out[1]=(1-61*(x^2)/150)/(1+(7*(x^2)/75)+((x^4)/200)) here's what i get In[1]=Pade[Cos[x], {x, 0, 2, 4}] Out[1]=Pade[Cos[x], {x, 0, 2, 4}] somebody please tell me how i can get the result. -- Bob Hanlon