Using Math Functions
Math functions are
used within mathematical-based programs.
The list of available math functions are as the followings:
SinD(x)
.................... when x is in
Degrees.
CosD(x) .................... when x is in
Degrees.
TanD(x) .................... when x is in
Degrees.
SinR(x) .................... when x is in
Radians.
CosR(x) .................... when x is in
Radians.
TanR(x) .................... when x is in
Radians.
ArcSinD(x)
.................... when you want
the output to be in Degrees.
ArcCosD(x) .................... when you want
the output to be in Degrees.
ArcTanD(x)
.................... when you want the output
to be in Degrees.
ArcSinR(x) .................... when you want
the output to be in Radians.
ArcCosR(x)
.................... when you want the output
to be in Radians.
ArcTanR(x)
.................... when you want the output
to be in Radians.
Sinh(x)
.................... Hyperbolic Sine.
Cosh(x)
.................... Hyperbolic Cosine.
Tanh(x) .................... Hyperbolic
Tangent.
Abs(x) .................... Absolute Value.
Exp(x) .................... Exponent Value.
Log(x) .................... Logarithm (base
10).
Ln(x) ...................... Natural (Neperian)
Logarithm.
x Mod y
......................
Remainder of division x/y.
Pow(x,y)
.................... x to power y.
x^y
................................. x to power y (simple form).
INT(x)
.................... Integer part.
RND
..................................................... A random number between 0
and 1.
ChangeRandomSeed
.................... Changes
seed of random number generation.
PI .................... The pi number (
Π).
Look at the following examples:
Float x , y
x = 30
y = SinD(2*x)
x = 0.5
y = ArcSinD(x^2)