Math Functions in CADFEKO
View the list of supported math functions.
Shortcut Key | Description |
---|---|
ABS | Absolute value |
ARCCOS | Arccosine (radians) |
ARCCOT | Arccotangent (radians) |
ARCSIN | Arcsine (radians) |
ARCTAN | Arctangent (radians) |
ATAN2 |
Arctangent of Y/X in the range -PI to PI Syntax: |
CEIL | Smallest integer value that is equal or greater than the argument |
COS | Cosine (radians) |
COSH | Hyperbolic cosine (radians) |
COT | Cotangent (Radians) |
DEG | Convert radians to degrees |
EXP | Exponential function |
FLOOR | Largest integer value that is equal to or smaller than the argument |
FMOD |
Resulting reminder of a/b. Syntax: |
IMAG | Determines the imaginary component |
LN |
Computes the natural logarithm Syntax: Example: |
LOG | Computes logarithm base 10 |
MAX |
Returns the largest of the two arguments Syntax: |
MIN |
Returns the smallest of the two arguments Syntax: |
PT |
Point creation Syntax: |
RAD | Convert degrees to radians |
SIN | Sine (Radians) |
SINH | Hyperbolic sine (Radians) |
SQRT | Square root |
STEP |
Step function Syntax: |
TAN | Tangent (Radians) |
TANH | Hyperbolic tangent (radians) |
Predefined Variables
Variable | Description |
---|---|
c0 | The speed of light in free space in m/sec. |
eps0 | The permittivity of free space in F/m. |
mu0 | The permeability of free space in H/m. |
pi | The mathematical constant (Ludolph’s number). |
zf0 | The characteristic impedance of free space in Ohm. |