Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: How to approximate tangent function in interval [-Pi/4,Pi/4]
using polynomial

Replies: 5   Last Post: Sep 2, 2012 4:57 PM

 Messages: [ Previous | Next ]
 Axel Vogt Posts: 1,068 Registered: 5/5/07
Re: How to approximate tangent function in interval [-Pi/4,Pi/4]
using polynomial

Posted: Sep 1, 2012 3:26 PM

On 31.08.2012 13:51, giridhar.t@gmail.com wrote:
> Hi,
>
> I'm trying to approximate tan(x) using polynomial in the interval [-Pi/4, Pi/4].
> What is the best method to do this?
> I searching I found Chebyshev, Talyor or any other method.
> Thank you

Not sure what you mean by 'best' and why it should be polynomial.
In that case try 'chebpade' or 'minmax' for [0 .. Pi/4] and do
some corrections in the endpoints (use correct Digits:= ... ).

One classical is tan(x) ~ x + x^3 P(x^2)/Q(x^2) for that range,
which is a rational function.

Date Subject Author
9/1/12 Axel Vogt
9/2/12 Dave Dodson
9/2/12 Martin Brown
9/2/12 Repeating Rifle
9/2/12 Axel Vogt