Calculates the sine of a value.

Syntax

Result = SRP_Math("SIN", Value, "", DecimalPlaces, ScientificNotation)

Returns

The sine of Value.

Remarks

The SIN operation computes the sine 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 sine of Log2 
Val = "0.227064512498507649434129923403947" 
Result = SRP_Math("SIN", Val) 
!! Result = 0.2251183598565402355720315487484248 !! 
// Calculate the sine of PI 
Val = "3.1415926535897932384626433832795" 
Result = SRP_Math("SIN", Val) 
!! Result = 0 !!
  • No labels