Casio FX-890P Owner's Manual page 65

Casio personal computer owner's manual
Table of Contents

Advertisement

RAN#
PURPOSE: Returns a random value in the range of 0 to 1.
FORMAT:
RAN#
(argument)
Numeric expression
The parenthesis enclosing the argument can be omitted when the argument is a
numeric value or variable.
EXAMPLE: RAN# * 10
PARAMETERS: argument : numeric expression
EXPLANATION:
1. Returns a random value in the ]-1, 1[ range.
2. Random numbers are generated from the same table when X=1.
3. The last random number generated is repeated when X=0.
4. Random numbers are generated from the random table when X=-1.
5. Random number generation begins with the same value each time a program
is executed. This means that the same series of numbers is generated unless
the argument of RAN# is omitted or is equal to -1.
EXAMPLE: RAN# * 10
REC
PURPOSE: Converts polar coordinates (r, θ) to rectangular coordinates (x, y).
FORMAT:
REC
( distance r
Numeric expression
EXAMPLE: REC(10,15)
PARAMETERS: x- and y-coordinates: numeric expressions not both zero.
1. Distance r: numeric expression in the [0, 10
2. Angle θ in the ]-1440°, 1440°[ or ]-8π Radians, 8π Radians[ range.
EXPLANATION:
1. Converts polar coordinates (r, θ) to rectangular coordinates (x, y). The
following relational expressions are used at this time:
x = r cosθ
2. The value of x is automatically assigned to variable X, wile y is automatically
assigned to variable Y
SEE: POL
,
angle θ )
Numeric expression
y = r sinθ
100
[ range.
65
F
0
F
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z-1grZ-1

Table of Contents