Sharp OZ-707 Operation Manual - Page 54

I*RND, I*SGN

Page 54 highlights

IRCP Function: Reciprocal 1/x DBl Remarks: Returns the reciprocal of the numeric argument. Function: RCP 4 ~ I REC 0.25 ~ I (r,e) (x,y) Function: Polar to rectangular coordinate conversion SNG Remarks: Converts numeric arguments of polar coordinates to their rectangular coordinate equivalents. The first argument indicates the distance from the origin and the second argument the angle. The angle depends on the mode (DEG, RAD or GRAD) . The converted values indicate the distances from the y-axis and the x-axis, and are assigned to the fixed variables Y and Z, respectively. Example: DEGREE 1ENTER I REC (12,30) IENTER I Z IENTER I 10.39230485 (x =: 10.4) 6 (y = 6) I*RND Function: Random number DBl Remarks: See RND and RANDOMIZE in the BASIC COMMAND DICTIONARY. I ROT xrvl Function: xth root DBl Remarks: Returns the xth root of the argument y. Enter as y ROT x. Example: 7776 ROT 5 IENTER I 6 96 I*SGN Function: Sign of argument Remarks: Returns a value based on the sign of the argument. If x > 0, the function returns 1. If x < 0, the function returns -1. If x = 0, the function returns O. DBl ISIN Function: Sine sin x DBl Remarks: Returns the sine of the angle argument. The value returned depends on the mode (DEG, RAD or GRAD). Example: DEGREE 1ENTER I SIN 30 IENTER I 0.5 ISQR ~I Function: Square root DBl Remarks: Returns the square root of the argument. Example: SOR 3 IENTER I 1.732050808 ISQU Function: Square DBl Remarks: Returns the square of the argument. Example: SOU 41 ENTER I 16 97

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128

IRCP
1/x
Function:
Reciprocal
DBl
Remarks:
Returns the reciprocal of the numeric argument.
Function:
RCP 4
~
0.25
I
REC
(r,e)
~
(x,y)
I
Function:
Polar to rectangular coordinate conversion
SNG
Remarks:
Converts numeric arguments of polar coordinates to their
rectangular coordinate equivalents.
The
first argument indicates the distance from the origin
and the second argument the angle.
The
angle depends on
the mode (DEG, RAD
or
GRAD). The converted values
indicate the distances from the y-axis and the x-axis, and
are assigned to the fixed variables Y and
Z,
respectively.
Example:
DEGREE
1
ENTER
I
REC (12,30)
I
ENTER
I
Z
I
ENTER
I
I*RND
Function:
Random number
10.39230485
(x
=:
10.4)
6
(y
=
6)
DBl
Remarks:
See RND and RANDOMIZE
in
the BASIC COMMAND
DICTIONARY.
I
ROT
xrvl
Function:
xth root
DBl
Remarks:
Returns the
xth
root of the argument y. Enter as y ROT
x.
Example:
7776 ROT 5
I
ENTER
I
6
96
I*SGN
Function:
Sign
of
argument
DBl
Remarks:
Returns a value based
on
the sign
of
the argument.
ISIN
If x
>
0, the function returns
1.
If
x
<
0,
the function returns
-1.
If
x
=
0,
the function returns
O.
Function:
Sine
sin x
DBl
Remarks:
Returns the sine of the angle argument. The value returned
depends on the mode (DEG, RAD
or
GRAD).
Example:
DEGREE
1
ENTER
I
SIN 30
I
ENTER
I
ISQR
Function:
Square root
Remarks:
Returns the square root of the argument.
Example:
SOR
3
I
ENTER
I
ISQU
Function:
Square
Remarks:
Returns the square of the argument.
Example:
SOU
41
ENTER
I
97
0.5
~I
DBl
1.732050808
DBl
16