MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: O(1) in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg95900] Re: O(1) in Mathematica
  • From: dimitris <dimmechan at yahoo.com>
  • Date: Thu, 29 Jan 2009 05:57:16 -0500 (EST)
  • References: <glpfj2$kpe$1@smc.vnet.net>

On 28 =C9=E1=ED, 13:29, Francois Fayard <fayard.p... at gmail.com> wrote:
> Hello,
>
> I'd like to compute ArcTan[1/(n+O(1))] but I don't know how to enter
> O(1) with Mathematica as O[n,Infinity]^0 simplifies to 1 which is not
> what I want.
>
> Thanks,
> Fran=E7ois

Something like...

In[25]:= ArcTan[1/(n + O[n]^2)] // InputForm

Out[25]//InputForm=
SeriesData[n, 0, {Pi/2, -1}, 0, 2, 1]

???

Note that you need more terms in the seires expansion since

In[1]:= ArcTan[1/(n + O[n]^1)]

During evaluation of In[1]:= Series::sbyc: Division by a series with \
no coefficients in 1/O[n]^1. >>

During evaluation of In[1]:= Series::sbyc: Division by a series with \
no coefficients in 1/1/O[n]^2. >>

Out[1]= Indeterminate

Dimitris


  • Prev by Date: Re: BarChart[] axis label bug in v7 Linux (Windows, OSX?)
  • Next by Date: Re: Compute ArcTan(n Pi+ Pi/2 + O(1))
  • Previous by thread: Re: O(1) in Mathematica
  • Next by thread: Compute ArcTan(n Pi+ Pi/2 + O(1))