Simple Series to calculate tan(x)

09122016, 12:17 PM
(This post was last modified: 09122016 01:33 PM by Namir.)
Post: #5




RE: Simple Series to calculate tan(x)
The series that I mentioned in the opening of this thread is simpler than the common summation series seen in many websites (which involves using Bernoulli numbers). Using the CORDIC algorithm to calculate the trigonometric functions remains the most efficient way. My main point is to single out a simpler (but not necessarily very efficient) series to calculate tan(x). Willy Kunz's result of 5000 iterations demonstrates the inefficiency of the algorithm. Using today's calculators and computers with their fast CPU can make using the series acceptable. However, the purist mathematician/programmer can still argue that the series is not the best way to calculate tan(x). The same can be said for infinite products that calculates sin(x) and cos(x). Their formulations are simple, but they require a high number of iterations.
I found the series for tan(x) on the bottom of page 83 in the book "Handbook of Computing Elementary Functions", 1965, by Lyusternic et al. The book has a lot of series, infinite products, and various approximations for common functions found in calculators. The original authors are Russian. 

« Next Oldest  Next Newest »

Messages In This Thread 
Simple Series to calculate tan(x)  Namir  09072016, 05:59 PM
RE: Simple Series to calculate tan(x)  Dieter  09072016, 07:10 PM
RE: Simple Series to calculate tan(x)  Willy R. Kunz  09122016, 10:09 AM
RE: Simple Series to calculate tan(x)  Dieter  09122016, 08:28 PM
RE: Simple Series to calculate tan(x)  Namir  09122016, 11:42 PM
RE: Simple Series to calculate tan(x)  Namir  09072016, 09:02 PM
RE: Simple Series to calculate tan(x)  Namir  09122016 12:17 PM

User(s) browsing this thread: 1 Guest(s)