User Guide
Using global parameters and expressions for values
71
Table 10 Functions in arithmetic expressions
This function... Means this...
ABS(x) |x|
SQRT(x) x
1/2
EXP(x) e
x
LOG(x) ln(x) which is log base e
LOG10(x) log(x) which is log base 10
PWR(x,y) |x|
y
PWRS(x,y) +|x|
y
(if x > 0)
-|x|
y
(if x < 0)
SIN(x)
sin(x) where x is in radians
ASIN(x)
sin
-1
(x) where the result is in
radians
SINH(x)
sinh(x) where x is in radians
COS(x)
cos(x) where x is in radians
ACOS(x)
cos
-1
(x) where the result is in
radians
COSH(x)
cosh(x) where x is in radians
TAN(x)
tan(x) where x is in radians
ATAN(x)
ARCTAN(x)
tan
-1
(x) where the result is in
radians
ATAN2(y,x)
tan
-1
(y/x) where the result is in
radians
TANH(x)
tanh(x) where x is in radians
M(x) magnitude of x* which is the same as
ABS(x)
P(x) phase of x* in degrees; returns 0.0
for real numbers
R(x) real part of x*
IMG(x) imaginary part
of x*
which is applicable to
AC analysis only
Pspug.book Page 71 Wednesday, November 11, 1998 1:14 PM