Sharp logo
How BASICs compute trigonometric functions

Potency series of transcendental functions

Transcendental functions can be approximated by the potency series with arbitrary precision. At an alternate (alternating) series is the small break after the nth term of the error as the following term for (n+1). At trigonometric functions of the angle x is used in rad (x * pi / 180).

Power series expansion of functions

Function Power series
sin x x - 1/3! * x3 + 1/5! * x5 - 1/7! * x7 +-......
cos x 1 - 1/2! * x2 + 1/4! * x4 - 1/6! * x6 +-......
tan x x + 1/3 * x3 + 2/15 * x5 + 17/315 * x7 + 62/2835 * x9 +...
exp x 1 + x + 1/2! * x2 + 1/3! * x3 + 1/4! * x4 + 1/5! * x5 + 17&1 + X&<7 +......

First set x to x * pi/180 (= RAD(x)).


Go to the top of this page Home

last updated October 5, 2016
[email protected]