Mathematical and Computational Applications (Jul 2018)

Applying Computer Algebra Systems in Approximating the Trigonometric Functions

  • Le Phuong Quan,
  • Thái Anh Nhan

DOI
https://doi.org/10.3390/mca23030037
Journal volume & issue
Vol. 23, no. 3
p. 37

Abstract

Read online

We propose numerical algorithms which can be integrated with modern computer algebra systems in a way that is easily implemented to approximate the sine and cosine functions with an arbitrary accuracy. Our approach is based on Taylor’s expansion about a point having a form of kp, k∈Z and p=π/2, and being chosen such that it is closest to the argument. A full error analysis, which takes advantage of current computer algebra systems in approximating π with a very high accuracy, of our proposed methods is provided. A numerical integration application is performed to demonstrate the use of algorithms. Numerical and graphical results are implemented by MAPLE.

Keywords