# Difference between revisions of "ApCoCoA-1:Fn.Cos"

From ApCoCoAWiki

m (insert version info) |
|||

(3 intermediate revisions by 2 users not shown) | |||

Line 1: | Line 1: | ||

+ | {{Version|1}} | ||

<command> | <command> | ||

<title>Fn.Cos</title> | <title>Fn.Cos</title> | ||

Line 22: | Line 23: | ||

</example> | </example> | ||

</description> | </description> | ||

− | <see> | + | <see>ApCoCoA-1:Fn.CosN|Fn.CosN</see> |

− | <see> | + | <see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see> |

− | <see> | + | <see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see> |

<key>Fn.Cos</key> | <key>Fn.Cos</key> | ||

<key>elemfns.Cos</key> | <key>elemfns.Cos</key> | ||

<key>Cos</key> | <key>Cos</key> | ||

− | <wiki-category>Package_elemfns</wiki-category> | + | <wiki-category>ApCoCoA-1:Package_elemfns</wiki-category> |

</command> | </command> |

## Latest revision as of 10:01, 7 October 2020

This article is about a function from ApCoCoA-1. |

## Fn.Cos

Returns the cosine of a given value.

### Syntax

Fn.Cos(X:RAT):RAT

### Description

This function returns the cosine of `X` rounded to the current

global accuracy.

@param

*X*Value of which to compute the cosine.@return The cosine of

`X`rounded to the current global accuracy.

#### Example

Fn.SetAccuracy(20); R := Fn.Cos(1); Dec(R, 30); 0.5403023058681397174 -------------------------------