How to Generate Random Numberson the TI-84 Plus
In This Article
By Jeff McCalla, C. C. Edwards
This TI-84 Plus calculator has a huge number of digits that are arranged in a list, known as the random number table that it uses the table to generate random numbers.
Generating random integers
If you want to generate random integer,follow these steps:
- To start the randInt Wizard on the Math PROB menu, click If you're using the TI-84 Plus, there isn't a wizard that can run the randint command. To be able to use the command, you need to know its syntax, which is randint(lower, upper, [number of elements]).A wizard can make entering information simple. The wizard arranges the information entered in a way that corresponds to the syntax of command. You can see the wizard on the first screen.
- Select the lower limit, and the maximum limit you wish for your number of randoms to be.You need a random number from 1 to 100. Enter [ENTER] or press the down-arrow keys to navigate to the next page in the wizard.
- Enter n to indicate how many random numbers you want to generate.Press [ENTER] several times to generate more random numbers as seen in the second screen.
- If you would like to generatea list of random integers, change to the number n.See in the 3rdscreen.
Generating random integerswith no repetition
Did you notice the integer 52, was picked twice when you looked at the final screen? If you're creating a list of random integers you can eliminate repeats by using another option. Here are the steps:
- To turn on the randIntNoRep Wizard in the Math PROB menu, press See the first screen.On the TI-84 Plus, the randIntNoRep command doesn't have wizards to aid you. The syntax for the command is randIntNoRep(lower,upper). Unlike the TI-84 Plus C it doesn't provide the option of changing how many terms you can use.
- Input your upper limit and lower limit as well as the number n (the the number terms).See another screen.
- Enter [ENTER] until the numbers are generated.This can be seen in the third screen.
Generating random decimals
It is very easy to generate random decimal numbers which are between 0 and 1. Press
Choose to choose the rund command in the Math Probability menu. Then repeatedly press [ENTER] to generate random numbers. This screen first illustrates the procedure.
When you need to generate random numbers that range between zero and 100, you need to use the rand command in the form of an expression: 100*rand. See the second screen.
Seeding the random number generator
Your calculator creates random numbers using a massive list of digits that are arranged into an alphabetical list. Here's the exciting part. You are able to choose which part of the list you would like your calculator to start creating random numbers. It is called"seeding" the number.
Have a bit of fun with the number you pick to start your calculator. It's a lot of fun! Figure out how many days you have been alive. Your calculator comes with a function to figure it out for you! The steps to follow:
- Click [2nd][0] in order to access the Catalog.Notice, your calculator is operating in Alpha mode, as indicated by the blinking A that appears in the cursor.
- To add the DBD( function Press dbd signifies days between dates.
- Fill in your birth date as the number on the following form: MM.DDYY.Dates must be between the years 1950 and 2049. Here, June 1, 1968 is entered as the number: 06.0168.
- Press [,].
- Fill in today's day's number on this form: MM.DDYY. January 2 2013, will be entered as the number: 01.0213.
- Enter [ENTER] and discover how long you have lived alive.See your first display. Wow! 16286 days sounds ageless!
Here are the steps to begin to seed your calculator:
- Enter the number that you will be selecting to start your calculator. 16286. Naturally, you could use any real number to seed your calculator.
- Press
- To insert the rand command, press
- Press [ENTER] for seeding the calculator.See on the right side of your screen. in The second screen.
- Try it out! Use randInt( to generate random number.See the last line in your second screen.
Are you looking to impress your colleagues? Seed your calculator with results you have in mind. For instance, if you secretly seed your calculator with numbers like 16286 The following three numbers (from the 0s to 1,000s) that will be generated will be 203, 213, and 197 as shown in the 3rd screen. Make sure you don't reveal your secret!
About the Book Author
Jeff McCalla is an instructor of mathematics who teaches mathematics and science at St. Mary's Episcopal School in Memphis, TN. He founded the TI-Nspire SuperUser group, and received the Presidential Award for Excellence in Science & Mathematics Teaching. C.C. Edwards has been a teacher and has led various workshops on using TI calculators.
Comments
Post a Comment