Re: Output comes same as input in Mathematica

*To*: mathgroup at smc.vnet.net*Subject*: [mg93449] Re: Output comes same as input in Mathematica*From*: Albert Retey <awnl at gmx-topmail.de>*Date*: Sat, 8 Nov 2008 04:00:39 -0500 (EST)*References*: <gf171s$ibp$1@smc.vnet.net>

Hi, > 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. Most probably you did not load the package bevore trying the examples. You can do that in version 5 with: << Calculus`Pade` or Needs["Calculus`Pade`"] hth, albert