An elementary algorithm to evaluate trigonometric functions to high precision

B. Tomas Johansson

Research output: Contribution to journalArticle

Abstract

Evaluation of the cosine function is done via a simple Cordic-like algorithm, together with a package for handling arbitrary-precision arithmetic in the computer program Matlab. Approximations to the cosine function having hundreds of correct decimals are presented with a discussion around errors and implementation.

Original languageEnglish
JournalInternational Journal of Mathematical Education in Science and Technology
Volumein press
Early online date19 Jul 2017
DOIs
Publication statusE-pub ahead of print - 19 Jul 2017

Fingerprint

Circular function
Evaluate
data processing program
MATLAB
Computer program listings
Evaluation
Arbitrary
Approximation
evaluation

Bibliographical note

This is an Accepted Manuscript of an article published by Taylor & Francis in International Journal of Mathematical Education in Science and Technology on 19 july 2017, available online: http://www.tandfonline.com/10.1080/0020739X.2017.1349943

Keywords

  • arbitrary-precision arithmetic
  • cordic algorithm
  • mulprec package

Cite this

Johansson, B. T. (2017). An elementary algorithm to evaluate trigonometric functions to high precision. International Journal of Mathematical Education in Science and Technology, in press. https://doi.org/10.1080/0020739X.2017.1349943
Johansson, B. Tomas. / An elementary algorithm to evaluate trigonometric functions to high precision. In: International Journal of Mathematical Education in Science and Technology. 2017 ; Vol. in press.
@article{8e6da91e73654601bd829188f0d5fe3b,
title = "An elementary algorithm to evaluate trigonometric functions to high precision",
abstract = "Evaluation of the cosine function is done via a simple Cordic-like algorithm, together with a package for handling arbitrary-precision arithmetic in the computer program Matlab. Approximations to the cosine function having hundreds of correct decimals are presented with a discussion around errors and implementation.",
keywords = "arbitrary-precision arithmetic, cordic algorithm, mulprec package",
author = "Johansson, {B. Tomas}",
note = "This is an Accepted Manuscript of an article published by Taylor & Francis in International Journal of Mathematical Education in Science and Technology on 19 july 2017, available online: http://www.tandfonline.com/10.1080/0020739X.2017.1349943",
year = "2017",
month = "7",
day = "19",
doi = "10.1080/0020739X.2017.1349943",
language = "English",
volume = "in press",

}

Johansson, BT 2017, 'An elementary algorithm to evaluate trigonometric functions to high precision', International Journal of Mathematical Education in Science and Technology, vol. in press. https://doi.org/10.1080/0020739X.2017.1349943

An elementary algorithm to evaluate trigonometric functions to high precision. / Johansson, B. Tomas.

In: International Journal of Mathematical Education in Science and Technology, Vol. in press, 19.07.2017.

Research output: Contribution to journalArticle

TY - JOUR

T1 - An elementary algorithm to evaluate trigonometric functions to high precision

AU - Johansson, B. Tomas

N1 - This is an Accepted Manuscript of an article published by Taylor & Francis in International Journal of Mathematical Education in Science and Technology on 19 july 2017, available online: http://www.tandfonline.com/10.1080/0020739X.2017.1349943

PY - 2017/7/19

Y1 - 2017/7/19

N2 - Evaluation of the cosine function is done via a simple Cordic-like algorithm, together with a package for handling arbitrary-precision arithmetic in the computer program Matlab. Approximations to the cosine function having hundreds of correct decimals are presented with a discussion around errors and implementation.

AB - Evaluation of the cosine function is done via a simple Cordic-like algorithm, together with a package for handling arbitrary-precision arithmetic in the computer program Matlab. Approximations to the cosine function having hundreds of correct decimals are presented with a discussion around errors and implementation.

KW - arbitrary-precision arithmetic

KW - cordic algorithm

KW - mulprec package

UR - http://www.tandfonline.com/10.1080/0020739X.2017.1349943

UR - http://www.scopus.com/inward/record.url?scp=85025125863&partnerID=8YFLogxK

U2 - 10.1080/0020739X.2017.1349943

DO - 10.1080/0020739X.2017.1349943

M3 - Article

VL - in press

ER -

Johansson BT. An elementary algorithm to evaluate trigonometric functions to high precision. International Journal of Mathematical Education in Science and Technology. 2017 Jul 19;in press. https://doi.org/10.1080/0020739X.2017.1349943