Mathematic functions for your enjoyment
08/31/2015
Sin(x)
Computes the sine of x
Real number
"Invalid parameter type"
Cos(x)
Computes the cosine of x
Real number
"Invalid parameter type"
Tan(x)
Computes the tangent of x
Real number
"Invalid parameter type"
ASin(x)
Computes the arcsine of x
Real number in radians
"Invalid parameter type"
ACos(x)
Computes the arccosine of x
Real number in radians
"Invalid parameter type"
ATan(x)
Computes the arctangent of x
Real number in radians
"Invalid parameter type"
RadToDeg( radians )
Converts the radian parameter to degrees
Real number in degrees
"Invalid parameter type"
DegToRad( degrees )
Converts the degrees parameter to radians
Real number in radians
"Invalid parameter type"
Pow(x,y)
Computes x ^ y
Real number
"Invalid parameter type"
Sqrt(x)
Computes the square root of x
Real number
"Invalid parameter type"
Root(x,y)
Computes the y root of x (same as Pow(x,1.0/y)).
Real number
"Invalid parameter type"
Abs(x)
Computes the absolute value of x
Real number
"Invalid parameter type"
Log10(x)
Computes log(base 10) of x
Real number
"Invalid parameter type"
LogE(x)
Computes the natural log of x
Real number
"Invalid parameter type"
Ceil(x)
Computes the ceiling of x
Real that is smallest integer >= x
"Invalid parameter type"
Floor(x)
Computes the floor of x
Real that is largest integer <= x
"Invalid parameter type"
ConstPi()
Returns an approximation of the trancendental number Pi
Pi is a numerical constant that represents the ratio of a circle's circumference to
its diameter on a flat plane surface. The value is the same regardless of the size of
the circle. The decimal expansion of pi is a nonterminating, nonrepeating sequence of
digits. Pi can be expressed through the Fourier series pi = 4 - (4/3) + (4/5) - (4/7) + (4/9) - ...
Real number (3.14159....)
ConstE()
Returns an approximation of the trancendental number E
e, is an irrational NUMBER occurring widely in mathematics and science, approximately
equal to the value 2.71828; it is the base of natural, or Naperian, LOGARITHMS. Like pi,
e is transcendental, i.e., not a ROOT of any algebraic equation. It is defined as the
LIMIT of the expression (1 + 1/n)^n as n becomes infinitely large. Expressions of the
form e^(x), known as the exponential function, occur in applications ranging from
statistics to nuclear physics
Real number
FormatRealToString( value, precision )
Formats a Double into a string. WARNING: this may produce different output on Windows and Linux,
output is intended only for displaying and informational purposes. Do not rely on it to be accurate,
to do not change in time, or to fit into any specifiec or predictable format.
String rep of the real number
"Invalid parameter type"
Min( x, y:=0 )
The numerically lowest Integer of the parameter values. Will return int/dbl based on parameter types passed.
If first param is an Array second will be ignored and returns lowest int/dbl entry.
Integer/Double
"Invalid parameter type"
"Array empty"
"No Integer/Double elements"
Max( x, y:=0)
The numerically highest Integer of the parameter values. Will return int/dbl based on parameter types passed.
If first param is an Array second will be ignored and returns lowest int/dbl entry.
Integer/Double
"Invalid parameter type"
"Array empty"
"No Integer/Double elements"