Logarithm Functions; Trigonometry Functions - Emerson E2 Einstein User Manual

Flexible combiner programming
Hide thumbs Also See for E2 Einstein:
Table of Contents

Advertisement

2.4.3

Logarithm Functions

Function
SQRT(value)
POWER(value,power)
LOG10(value)
EXP(value)
LN(value)
Table 2-12
- Extended Logarithmic Functions
2.4.4

Trigonometry Functions

Function
DEG(value)
RAD(value)
SIN(value)
COS(value)
TAN(value)
ASIN(value)
ACON(value)
ATAN(value)
SINR(value)
COSR(value)
Table 2-13
- Extended Trigonometry Functions
2-10
E2 User's Manual Supplement: Flexible Combiner
Description
Returns the square root of value. Value must not be
negative, or else a Bad Result error will occur.
Returns value to the power of power. This is the same
as the "^" operator.
Returns the base-10 logarithm of value.
Returns e (2.72) raised to the power of value.
Returns natural logarithm of value.
Description
Converts value from radians to degrees.
Converts value from degrees to radians
Returns the sine of value.
Returns the cosine of value.
Returns the tangent of value.
Returns the arcsine of value. Value must be con-
strained to between -1 and 1, otherwise a Bad Result
math error will occur.
Returns the arccosine of value. Value must be con-
strained to between -1 and 1, otherwise a Bad Result
math error will occur.
Returns the arctangent of value.
Same as the SIN function, except value is assumed to
be radians.
Same as the COS function, except value is assumed to
be radians.
Examples
SQRT(4) result: 2
SQRT(77) result: 8.77
SQRT(-4) result: ERROR
SQRT(ABS(-4)) result: 2
POWER(2,3) result: 8
POWER(-7,2) result: 49
LOG10(5) result: 0.7
LOG10(1) result: 0
LOG10(100) result: 2
EXP(1) result: 2.72
EXP(0.5) result: 1.65
LN(1) result: 0
LN(2.72) result: 1.0
LN(7) result: 1.95
Examples
DEG(1) result: 57.3
DEG(PI) result: 180
RAD(57.3) result: 1
RAD(180) result: 3.14
SIN(90) result: 1
SIN(270) result: -1
SIN(0) result: 0
COS(90) result: 0
COS(270) result: -1
COS(0) result: 1
TAN(0) result: 0
TAN(270) result: 1.8E+07 (very high
number, to simulate infinity)
ASIN(0.5) result: 30
ASIN(1.01) result: EROR
ACOS(0.5) result: 60
ACOS(1.01) result: ERROR
ATAN(0.5) result: 26.6
ATAN(1) result: 45
SINR(PI) result: 0
SINR(1) result: 0.84
COSR(PI) result: -1
COSR(1) result: 0.54
026-1620 Rev 3 06-JAN-2011

Advertisement

Table of Contents
loading

Table of Contents