MathGroup Archive 2003

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

Search the Archive

[Fwd: Re: Trigonometric math functions]

  • To: mathgroup at
  • Subject: [mg44606] [Fwd: [mg44584] Re: Trigonometric math functions]
  • From: Bob Walker <walkerbg at>
  • Date: Mon, 17 Nov 2003 03:38:41 -0500 (EST)
  • Sender: owner-wri-mathgroup at

  I don't have a direct reference handy but try an internet search for 
"trig Cordic" algorithms.
Good luck

-------- Original Message --------
Subject: [mg44606] [mg44584] Re: Trigonometric math functions
From: drbob at (Bobby R. Treat)
To: mathgroup at
References: <boig47$og2$1 at>

You can get a very good rational function approximation as follows:

<< Calculus`Pade`
<< Graphics`Colors`
pade = Pade[ArcCos[x], {x, 0, 6, 6}] // Simplify
series = Normal@Series[ArcCos[x], {x, 0, 19}]
Plot[{pade, series} - ArcCos[x] // Evaluate, {x, 0, 1}, PlotStyle -> {Red, 

The Pade approximation of order {6,6} looks better than the series of order 19.


"Bruno"  wrote in message news:...
> Hi all,
> I would like to implement an arc cos function on a 16 bits µcontroller
> (optimized sin() and cos() function are welcome).
> Does someone have some sources or an algorythm in this way ?
> Thanks in advance,
> Regards.

  • Prev by Date: Linear Regression and Hat Matrix
  • Next by Date: Re: Automatic comment coloring
  • Previous by thread: Re: Linear Regression and Hat Matrix
  • Next by thread: A MapLevelParts Routine