Casio FX-795P Owner's Manual page 104

Hide thumbs Also See for FX-795P:
Table of Contents

Advertisement

7-6
Others
RAN #
Function:
Obtains a random number from 0 to 1.
Explanation:
.
1) Obtains a pseudo-random number from 0 to 1 within 10 digit mantissa.
0< random number <1.
Example:
Provides a random number with 1 digit from 0 to 9.
INT(RAN# * 10)
INT(RAN# * 6 )+ 1
Provides a random number with 2 digits from 10 to 99.
INT(RAN# * 90) + 10
194
7-6
Others
D E G
( Degree
[, Minute
[,Second]])
©
Numeric expression
Numeric expression Numeric expression
Function:
Converts a sexagesimal expressed by given degrees, minutes and seconds to a
decimal.
Parameter:
Degree:
Numeric expression.
Minute:
Numeric expression.
Second:
Numeric expression.
DEG (degree, minute, second) | < 10"
Explanation:
1) Converts a sexagesimal expressed by given degrees, minutes and seconds to a
decimal.
Hater
DEG (abyo)=ategtg
00
2) The minutes and seconds can be omitted, and they will be considered 0.
3) The parenthesis cannot be omitted.
Example:
DEG(12,34,56)
&&
1@
INPUT
A,B,C
20
PRINT
DEG(A,B,C)
3@ END
195

Advertisement

Table of Contents
loading

Table of Contents