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): out1Arguments:
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| r | number | 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
| Name | Type | Description |
|---|---|---|
| out1 | number | The 8th order Taylor series approximation of cosine. |