BASIC EQUIVALENT
FUNCTION
SECANT
COSECANT
COTANGENT
INVERSE SINE
INVERSE COSINE
INVERSE SECANT
INVERSE COSECANT
INVERSE COTANGENT
HYPERBOLIC SINE
HYPERBOLIC COSINE
HYPERBOLIC TANGENT
HYPERBOLIC SECANT
HYPERBOLIC COSECANT
HYPERBOLIC COTANGENT
INVERSE HYPERBOLIC SINE
INVERSE HYPERBOLIC COSINE
INVERSE HYPERBOLIC TANGENT
INVERSE HYPERBOLIC SECANT
INVERSE HYPERBOUC COSECANT
INVERSE HYPERBOLIC COTANGENT
SEC(x)- MOS(%)
C,SC(x)- uStN(x)
COT(x)- UTAN(X)
ARCSIN(x)=ATignoSOR(- x•x 1))
ARCCOS(X)- -ATN(x•SOR
N X•X 111.77 ,2
ARCCSC(X)-ATN(x/SOR(X•X - I ))
ARCCSC(X)=ATN(X/SOR(K• X -1))
+(RONDO-1'7722)
ARCOT(X)-ATN(X) • w/2
SINH(X)-(EXP(X)-EXP(- 012
COSH(X)=(EXP(X)- +EXP( ^ X)Y2
TANH(X)..EXPI-XY(EXP(x)a.EXP
( - X))•2+
SECH(X)s21(EXP(X)+EXP( -X))
CSCH(X).2/(E XP(X)- E XP( - X))
COTH(X)=EXP( - Xy(EXP(X)
- EXP(-)0)•2+
ARCS1NH(X)- LOGO( FSOR(X•X *1/1
ARCCOSH(X)-LOG(X4-SOR(X•X- I))
ARCTANH(x)= LOGO I ♦ Xy( I - X)y2
ARCSECH(x)-LOG8SOR
( - X*X41)+ 1}'X)
ARCCSCH(X)"LOGICSCIN(X1'SOR
(x•x+
¶)/x))
ARCCOTH(X)- LOGRX • I X - Hy2
APPENDIX C
Deriving Mathematical Functions
Functions that are not intrinsic to BASIC 3.5 may be calculated as
follows:
APPENDIX
D
Musical Note Table
NOTE
SOUND REGISTER VALUE
ACTUAL FREQUENCY (HZ)
A
7
110
B
118
123.5
C
169
130.8
262
146.8
E
345
164.7
F
383
174.5
453
195.9
A
516
220.2
B
571
246.9
C
596
261.4
D
643
293.6
E
685
330
F
704
349.6
739
392.5
A
770
440.4
B
798
494.9
C
810
522.7
0
834
588.7
E
854
658
F
864
699
881
782.2
A
897
880.7
911
989.9
C
917
1045
929
1177
E
939
1316
F
944
1398
G
953
1575
The above table contains the sound regis er values of four octaves of
notes. The sound register values are used as the second parameter
of the SOUND command To use the first note in the table (A—sound
172
173
Need help?
Do you have a question about the Commodore 16 and is the answer not in the manual?
Questions and answers