Field Guide/Statistics/Random simulation
Core3 min

Simulate with random integers

You need repeated random outcomes to model a simple experiment.

01

Press these keys

MATHPRB5:randInt(

Step 1 of 3. Press MATH.

02

Walkthrough

  1. 1
    Open random command

    Press MATH → PRB → randInt(.

  2. 2
    Set bounds and count

    Enter lower integer, upper integer and number of trials.

  3. 3
    Repeat thoughtfully

    Store results to a list if analyzing frequencies; a simulation estimates, not proves, probability.

03

Worked example

Simulate ten fair die rolls.

AnswerYour list will vary with the random seed.