Calculates the arc tangent of a value.

Syntax

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

Returns

The arc tangent of Value.

Remarks

The ARCTAN operation computes the arc tangent of Value. Value can be any number, so no error is generated for this operation.

The angle returned is in the range −π/2 ≤ result ≤ π/2

Example

// Calculate the arc tangent of Log2 
Val = "0.69314718055994530941723212145817" 
Result = SRP_Math("ARCTAN", Val) 
!! Result = 0.606111934732855002385988269576687 !! 
// Calculate the arc tangent of PI  
Val = "3.1415926535897932384626433832795" 
Result = SRP_Math("ARCTAN", Val) 
!! Result = 1.2626272556789116834443220836057 !!
  • No labels