HTBasic Help
×
Menu
Index

ACSH

Returns the hyperbolic arc-cosine of an expression.
 
 ACSH( numeric-expression )
 
Usage:
Angle=ACSH(Hcosine)
PRINT "Complex Angle = ";ACSH(Z)
 
Example: ACSH.BAS
 
Description:
The hyperbolic arc-cosine of a number is the angle whose hyperbolic cosine is that number. The angle is returned in radians, regardless of the current trigonometric mode. ACSH returns the principal value, defined (in terms of complex arithmetic) as
 
ACSH(Z) = LOG(Z+CMPLX(0,1)*SQRT(1-Z^2))
 
which returns an imaginary part in the range 0 to PI. ACSH accepts either a COMPLEX or REAL argument and returns a value of the same type. The domain for COMPLEX arguments includes all points in the complex plane, but for REAL arguments, the domain is only defined for points ≥ 1. Notice that intermediate values generated during the calculation of the function can cause over or underflow errors for very large or small values of Z.
 
See Also: