10.12.2012 Views

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Logic operators (must<br />

be surrounded by<br />

spaces)<br />

Standard Mathematical Functions<br />

AND Logical AND (conjunction)<br />

OR Logical OR (disjunction)<br />

NOT Logical NOT (negation)<br />

<strong>SIMPLORER</strong> 6.0 — <strong>Manual</strong> 33<br />

Mathematical functions consist of the function name and one or two arguments. An argument<br />

can be any number or variable name. An mathematical function applies the function, which<br />

it represents, to the argument(s).<br />

r:=FCT(x,y),r:=FCT(z)<br />

x, y, and z are arguments, z is a complex number, FCT is the function name, r is the result.<br />

If the argument(s) are complex numbers (for example in an AC simulation), the functions RAD,<br />

DEG, DEGEL, MOD, INT, FRAC, LOOKUP consider only the real part.<br />

Notation Description Example<br />

SIN(x) Sine, x[rad] SIN(PI/6)=0.5<br />

COS(x) Cosine, x[rad] COS(2•PI/3)=-0.5<br />

TAN(x) Tangent, x[rad] TAN(PI/4)=1<br />

ARCSIN(x); ASIN(x) Arc sine [rad] ASIN(0.5)=0.524=PI/6<br />

ARCCOS(x); ACOS(x) Arc cosine [rad] ACOS(0.5)=1.0471=PI/3<br />

ARCTAN(x); ATAN(x) Arc tangent [rad] ATAN(1)=0.785=PI/4<br />

ARCTAN2(x,y);<br />

ATAN2(x,y)<br />

ATAN2=ATAN(y/x)<br />

Arc tangent2 [rad]<br />

r=0 if x=0 and y=0; −π ≤ r ≤ π<br />

ATAN2(.25,1)=<br />

ATAN(4)=1.325<br />

SINH(x) Sine hyperbola. SINH(1)=1.175<br />

COSH(x) Cosine hyperbola. COSH(1)=1.543<br />

TANH(x) Tangent hyperbola. TANH(1)=0.762<br />

SQU(x) Square. SQU(16)=16²=256<br />

X^Y Power. 74 =2401<br />

SQRT(x) Square root. SQRT(9)=²√9=3<br />

ROOT(x,[y]), y=2 n-th Root. ROOT(27,3)=³√27=3<br />

EXP(x) Exponential function. EXP(5)=e 5 =148.41<br />

ABS(x) Absolute value. ABS(-8.5)=|-8.5|=8.5<br />

LN(x) Natural logarithm. LN(3)=log e 3=1.099<br />

LOG(x[,y]); y=10 Common logarithm. LOG(7,4)=log 4 7=1.403<br />

INTEG(x) Integration of a variable from the<br />

function call until to the simulation<br />

end.<br />

RE(z) Real part RE(z)=5<br />

IM(z) Imaginary part IM(z)=3<br />

ARG(z) Argument of a complex number in<br />

radians.<br />

INTEG(var1)=∫var1 dx<br />

ARG(z)=0.53

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!