|
Mathematical Functions in Parameter Relations
The list of mathematical functions that can be used in a relation to define a parameter value, is shown below.
These can appear with other Cimatron relations to form an expression, for example:
The table below can be sortedsorted:
Click on a column header to sort in ascending / descending order.
To revert to the original order, right-click and select Refresh from the popup menu.
Mathematical Function |
Description |
Examples |
---|---|---|
+ |
Addition. |
|
- |
Subtraction. |
|
* |
Multiplication. |
|
/ |
Division. |
|
** |
Exponentiation. |
|
-v |
Inserts a minus (-) sign before a number. |
|
( |
Left bracket (parenthesis). |
|
) |
Right bracket (parenthesis). |
|
abs(b1) |
ABS(b1) implements the Absolute Value function: the result is to drop the negative sign (if present). |
ABS(7) = 7. |
exp(x) |
EXP(x) computes the value of e (the base of natural logarithms) raised to the power of x (exp(x) means the exponential function of x, i.e. ex.). |
EXP(2) = 7.389056. |
inch(x) |
INCH(x) converts millimeters to inches. inch(x) computes the number of inches equivalent to x millimeters. |
INCH(25.4) = 1. |
log10(x) |
LOG10(x) computes the base-10 logarithm of x. |
LOG10(7) = 0.845098. |
sqrt(x) |
SQRT(x) returns the square root of x. |
SQRT(2) = 1.4142136. |
sin(x) |
SIN(x) returns the sine of x, where x is given in degrees. |
SIN(30) = 0.50. |
cos(x) |
COS(x) returns the cosine of x, where x is given in degrees. |
COS(30) = 0.866025. |
tan(x) |
TAN(x) returns the tangent of x, where x is given in degrees. |
TAN(30) = 0.57735 |
asin(x) |
ASIN(x) calculates the arc (inverse) sine of x; that is the value whose sine is x. The value it returns is in degrees. |
ASIN(0.5) = 30 |
acos(x) |
ACOS(x) calculates the arc (inverse) cosine of x; that is the value whose cosine is x. The value it returns is in degrees. |
ACOS(0.1) = 84.2608. |
atan(x) |
ATAN(x) calculates the arc (inverse) tangent of x; that is the value whose tangent is x. The result is in degrees. |
ATAN(0.5) = 26.5651. |
sinh(x) |
SINH(x) returns the hyperbolic sine of x, which is defined mathematically as (ex−e−x)/2. x is in radians. |
SINH(0.5) = 0.521095. |
cosh(x) |
COSH(x) returns the hyperbolic cosine of x, which is defined mathematically as (ex+e−x)/2. x is in radians. |
COSH(0.5) = 1.127626. |
tanh(x) |
TANH(x) returns the hyperbolic tangent of x, which is defined mathematically as sinh(x) / cosh(x). |
TANH(2) = 0.96402758. |
|