Developer Tools
Downloads
Algorithms
 
News
 
Trigonometric
Tools: RAD Clarion for Windows, version 6.x
 
Inverse hyperbolic cosine (arch)
Library: CHSTD, fAhcos()

LOGE(In+SQRT(In*In-1))

Inverse hyperbolic sine
Library: CHSTD, fAhsin()

LOGE(In+SQRT(In*In+1))

Transformation of the cartesian coordinates on a surface at shift and turn of coordinate axes
Library: CHSTD, fCartesianOnSurface()

Xnew = (X-X0)*COS(Angle)+(Y-Y0)*SIN(Angle)
Ynew = (Y-Y0)*COS(Angle)-(X-X0)*SIN(Angle)

Angle - angular displacement of coordinate axes
X,Y - coordinate of a point
X0, Y0 - coordinate of the centre of new system of coordinates

Transformation of cartesian coordinates to polar coordinates
Library: CHSTD, fCartesianToPolar()

X = R * COS(Angle)
Y = R * SIN(Angle)

Transformation of polar coordinates to cartesian coordinates
Library: CHSTD, fPolarToCartesian()

R = SQRT(X*X +Y*Y)
Angle = ATAN(Y/X)

Transformation of cartesian coordinates to spherical coordinates
Library: CHSTD, fCartesianToSphere()

R = SQRT(X*X+Y*Y+Z*Z)
Q = ATAN(Y/X)
F = ACOS(Z/R)

R - radial vector
Q - longitude
F - latitude
X,Y,Z - cartesian coordinates

Converting of spherical coordinates to cartesian coordinates
Library: CHSTD, fSphereToCartesian()

X = R * SIN(F) * COS(Q)
Y = R * SIN(F) * sin(Q)
Z = R * COS(F)

R - radial vector
Q - longitude
F - latitude
X,Y,Z - cartesian coordinates

Secant
Library: CHSTD, fSec()

1/COS(In)

Cosecant
Library: CHSTD, fCosec()

1/SIN(In)

Cotangent
Library: CHSTD, fCotan()

1/TAN(In)

Converting Degrees to Radians
Library: CHSTD, fDegToRad()

0.0174532925199432957692369076848861 * Degree

Converting Radians to Degrees
Library: CHSTD, fRadToDeg()
57.295779513082320876798154814105 * Radian
Exponent
Library: CHSTD, fExp()

2.7182818284590452353602874713526^In

Factorial
Library: CHSTD, fFactorial()

Factorial = 1
loop I = 1 to ABS(In)
  Factorial *= I
end

Hyperbolic cosine
Library: CHSTD, fHcos()

(fExp(In)+fExp(-In))*0.5

fExp() - Exponent

Hyperbolic sine
Library: CHSTD, fHsin()

(fExp(In)-fExp(-In))*0.5

fExp() - Exponent

Hyperbolic tangent
Library: CHSTD, fHtan()

(fExp(In)-fExp(-In))/(fExp(In)+fExp(-In))

fExp() - Exponent

The logarithm of number on any basis
Library: CHSTD, fLog()

LOGE(N)/LOGE(B)

N - number
B - basis

 
  (c) Sergey Chushkin, 2000-2009
Designer & Programmer