Generate random numbers
Get a random decimal between 0 and 1, or a random whole number in a range such as a dice roll.
A random number is different each time you ask. The plain random command gives a decimal between 0 and 1. The integer version picks a whole number between two limits, which is perfect for simulating a die.
The numbers you get will not match the pictures in this guide. That is the point.
Classic Graphing 84
Start on the main screen: Press 2nd then mode (QUIT) to get back to the home screen. Pressing clear on a menu also backs out of it.
Open the PROB menu: press math, then the left arrow twice. Choose randInt( (option 5).
math◀◀5Type 1, a comma and 6 for a die, then close the bracket and press enter.
1,6)enter
You should seerandInt(1,6)
Option 1, rand, gives a decimal between 0 and 1.
Classic Graphing 84 key reference · Classic Graphing 84 manual
Classic Scientific 30
Start on the main screen: Press 2nd then mode (QUIT) to leave any menu or screen and return to the calculation screen.
Press prb, move right to the RAND tab, and choose randint(.
prb▶2Type 1, a comma (2nd then the decimal point) and 6, then press enter.
12nd,.6enter
You should seerandint(1,6
Classic Scientific 30 key reference · Classic Scientific 30 manual
Natural Scientific 991
Start on the main screen: Press MENU, then 1 (Calculate) to return to the main calculation screen. AC clears the line you are on.
RanInt# is on the ALPHA layer of the decimal point key.
ALPHARanInt.Type 1, a comma (SHIFT then the bracket key) and 6, close the bracket and press =.
1SHIFT,)6)=
You should seeRanInt#(1,6)
SHIFT then the decimal point key gives Ran#, a random decimal.
Natural Scientific 991 key reference · Natural Scientific 991 manual
Natural Color Graphing
Start on the main screen: Press MENU then 1 to open Run-Matrix, the main calculation screen. Press EXIT to back out of a bar or screen, and SHIFT then EXIT (QUIT) to return to the app start.
Open OPTN, move to the second page with F6, then choose PROB (F1) and RanInt (F5).
OPTNF6F1F5Type 1, a comma and 6, close the bracket and press EXE.
1,6)EXE
You should seeRanInt#(1,6)
Natural Color Graphing key reference · Natural Color Graphing manual
Classic CAS
Start on the main screen: Press home to open the Home menu (Calculator, Graphs, Settings, and more). Choose Calculator, or press esc to go back to the calculation page.
Open the Probability menu and choose randInt(.
menu55Type 1, a comma and 6, close the bracket and press enter.
1,6)enter
You should seerandInt(1,6)
Tips
- Press enter again to repeat the last command and roll again.