Mathematical Functions
Annex B to BBC BASIC (Z80)
BBC BASIC (Z80) has more intrinsic mathematical functions than many other versions of BASIC. Those that are not provided may be calculated as shown below.
| Function | Calculation | 
|---|---|
SECANT  | 
  | 
COSECANT  | 
  | 
COTANGENT  | 
  | 
Inverse SECANT  | 
  | 
Inverse COSECANT  | 
  | 
Inverse COTANGENT  | 
  | 
Hyperbolic SINE  | 
  | 
Hyperbolic COSINE  | 
  | 
Hyperbolic TANGENT  | 
  | 
Hyperbolic SECANT  | 
  | 
Hyperbolic COSECANT  | 
  | 
Hyperbolic COTANGENT  | 
  | 
Inverse Hyperbolic SIN  | 
  | 
Inverse Hyperbolic COSINE  | 
  | 
Inverse Hyperbolic TANGENT  | 
  | 
Inverse Hyperbolic SECANT  | 
  | 
Inverse Hyperbolic COSECANT  | 
  | 
Inverse Hyperbolic COTANGENT  | 
  | 
LOGn(X)  | 
  |