Education Technology

Solution 13320: Using the rand() Function on the TI-83 Family, TI-84 Plus Family or TI-Nspire™ Handheld in TI-84 Plus Mode.

How can I use the rand() function on the TI-83 family, TI-84 Plus family or TI-Nspire handheld in TI-84 Plus mode?

The proper syntax for using the rand( function on the TI-83 family, TI-84 Plus family or TI-Nspire handheld in TI-84 Plus mode is listed below:

rand(number of trials)

NOTE: The rand( function returns a random number between 0 and 1 for the specified number of trials.

To generate 3 random numbers between 0 and 1, follow the steps provided below:

• From the main screen, press [MATH] and scroll left to select PRB menu.
• Select 1:rand and press [ENTER] (rand will be displayed on the main screen).
• Press [(] [3] [)] and [ENTER]
• The calculator will display the 3 randomly generated numbers

 In order to view the entirety of the three generated numbers, use the arrow keys to scroll right.

To generate random numbers beyond the range of 0 to 1, users can include rand in an expression. For example, rand*5 generates a random number > 0 and < 5.

With each rand execution, the calculator generates the same random number sequence for a given seed value. The default seed value for rand is 0. To generate a different random-number sequence, store any nonzero seed value to rand. To restore the factory set seed value, store 0 to rand or reset the defaults.

Please see the TI-83 family and TI-84 Plus family guidebooks for additional information.

Note: TI-Nspire handheld in TI-84 Plus mode users may refer to the TI-84 Plus family guidebook.