Calculates the cosine of a value.
Syntax
Result = SRP_Math("COS", Value, "", DecimalPlaces, ScientificNotation)
Returns
The cosine of Value.
Remarks
The COS operation computes the cosine of Value. Value can be any number, so no error is generated for this operation.
The result is in the range -1 ≤ result ≤ 1
Example
// Calculate the cosine of Log2 Val = "0.227064512498507649434129923403947" Result = SRP_Math("COS", Val) !! Result = 0.9743314241342630809726475130258106 !!
// Calculate the cosine of PI Val = "3.1415926535897932384626433832795" Result = SRP_Math("COS", Val) !! Result = -1.0 !!