Codebox Operators cosT8

cosT8

8th order Taylor series approximation of the cosine function. Input must be in the range [-pi, pi] in order to approximate without divergence.

cosT8(r): out1

Arguments:

Arguments

NameTypeDefaultDescription
rnumber

Input to the Taylor series approximation of cosine. Values outside of the range [-pi, pi] will begin to diverge towards negative and positive infinity.

Returns

NameTypeDescription
out1number

The 8th order Taylor series approximation of cosine.