Preprint Article Version 1 Preserved in Portico This version is not peer-reviewed

A Computational Method with MAPLE for a Piecewise Polynomial Approximation to the Trigonometric Functions

Version 1 : Received: 13 August 2018 / Approved: 13 August 2018 / Online: 13 August 2018 (14:40:24 CEST)

A peer-reviewed article of this Preprint also exists.

Quan, L.P. A Computational Method with MAPLE for a Piecewise Polynomial Approximation to the Trigonometric Functions. Math. Comput. Appl. 2018, 23, 63. Quan, L.P. A Computational Method with MAPLE for a Piecewise Polynomial Approximation to the Trigonometric Functions. Math. Comput. Appl. 2018, 23, 63.

Abstract

A complete MAPLE procedure is designed to implement effectively an algorithm for approximating the trigonometric functions. The algorithm gives a piecewise polynomial approximation on an arbitrary interval, presenting a special partition that we can get its parts, subintervals with ending points of finite rational numbers, together with corresponding approximate polynomials. The procedure takes a sequence of pairs of interval-polynomial as its output that we can easily explore in some useful ways. Examples on calculating approximate values of the sine function with arbitrary accuracy for both of rational and irrational arguments as well as drawing the graph of the piecewise approximate functions will be presented. Moreover, from the approximate integration of integrands of the form $x^m\sin x$ on $[a,b]$, another MAPLE procedure is proposed to find the desired polynomial estimates in norm for the best $L^2$-approximation of the sine function in the vector space $\mathcal{P}_{\ell}$ of polynomials of degree at most $\ell$, a subspace of $L^2(a,b)$.

Keywords

approximation; approximate value; evaluation error, approximation error; piecewise approximate polynomial; rational approximation; Taylor's Theorem

Subject

Computer Science and Mathematics, Computational Mathematics

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.