Difference between revisions of "ApCoCoA-1:Fn.SqrtN"
From ApCoCoAWiki
m (Bot: Category moved) |
m (insert version info) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Version|1}} | ||
<command> | <command> | ||
<title>Fn.SqrtN</title> | <title>Fn.SqrtN</title> | ||
Line 22: | Line 23: | ||
</example> | </example> | ||
</description> | </description> | ||
− | <see>Fn.Sqrt</see> | + | <see>ApCoCoA-1:Fn.Sqrt|Fn.Sqrt</see> |
− | <see>Fn.Root</see> | + | <see>ApCoCoA-1:Fn.Root|Fn.Root</see> |
− | <see>Fn.RootN</see> | + | <see>ApCoCoA-1:Fn.RootN|Fn.RootN</see> |
− | <see>Fn.SetAccuracy</see> | + | <see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see> |
− | <see>Fn.GetAccuracy</see> | + | <see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see> |
<key>Fn.SqrtN</key> | <key>Fn.SqrtN</key> | ||
<key>elemfns.SqrtN</key> | <key>elemfns.SqrtN</key> |
Latest revision as of 10:06, 7 October 2020
This article is about a function from ApCoCoA-1. |
Fn.SqrtN
Returns the square root of a give value with a given accuracy.
Syntax
Fn.SqrtN(Val:RAT,Acc:INT):RAT
Description
This function returns the square root of Val rounded to the
given accuracy Acc.
@param Val The value of which to take the square root.
@param Acc The desired accuracy.
@return Returns the square root of Val rounded to the given accuracy Acc.
Example
R := Fn.SqrtN(2, 30); Dec(R, 40); 1.41421356237309504880168872421 -------------------------------