Radio Shack TRS-80 PC-4 Owner's Manual page 27

Trs-80 pc-4
Hide thumbs Also See for TRS-80 PC-4:
Table of Contents

Advertisement

Example:
101.23
=
16.98243652
(To get the antilogarithm of common logarithm 1.23)
Operation:
10l!!!J61.23l11
1r--1-6~.~9~8~~~4-3-6~5-2----
Example:
5.6 2 .
3
=52.58143837
Operation:
5.6~62.3.
I
Example:
123
"7
(=
J!i23 )
= 1.988647795
Operation:
123~6~61a7~6.
CS-2.58143837
I
1.988647795
Example:
log sin40°
+
log cos35°
=
~0.278567983
The antilogarithm is
0.5265407845
(logarithmic calculation of sin
40°
x
cos
35°)
Operation:
~@--
\'DEG"
LOG SIN 400 LOG COS 3511I
-0.278567983
0.5265407845
• Other functions (r, SGN, RAN
#,
RND, ASS, INT, FRAC)
Example:
./2
+15
=3.65028154
Operation:
SQR 20SQR 511I
I
3.65028154
Example:
Give
"1"
to
a
positive number,
11-1 11
to a negative number, and
"0"
to a
zero.
Operation:
SGN 611I
SGN 011I
SGNI:I2111
1
-1
Example:
Random number generation (pseudo random number of
0
<
RAN#
<
1)
Operation:
RAN~~GI
I
0.790373907
(Example)
Example:
The result of
12.3X 4.56
is
rounded off at
10-
2
12.3
X
4.56 = 56.088
Operation:
RNDl!!!J61 2 - 304-
5
6
~6a
2l!!!J6111
- - - - - - - - - - -
~
For
RND
(x,
Y),
y
is
IYI<l00[
L...
_5_6
1
_
-24-

Advertisement

Table of Contents
loading

Table of Contents