Download Print this page

HP 35s Instruction Manual page 4

Using random numbers for simulations
Hide thumbs Also See for HP 35s:

Advertisement

hp calculators
HP 35s Using random numbers for simulations
In RPN or algebraic mode:
This corresponds to a demand of 20 newspapers. In RPN mode, press
This corresponds to a demand of 15 newspapers. In RPN mode, press
This corresponds to a demand of 20 newspapers. In RPN mode, press
This corresponds to a demand of 20 newspapers. In RPN mode, press
This corresponds to a demand of 20 newspapers.
Answer:
The results were demands of 20, 15, 20, and 20 newspapers. If the simulation were carried out for a longer
period (which could be done by writing a program), other levels of demand would be generated. Figures 5
through 9 show the display assuming algebraic mode.
Example 3: Simulate rolling 2 dice. Use a starting seed of 0.345678
Solution:
When a die is rolled, the result is equally likely to be a 1, 2, 3, 4, 5, or 6. Since the HP 35s random numbers
are decimal numbers, it will be necessary to transform them into integers between 1 and 6. Since the
hp calculators
- 4 -
HP 35s Using random numbers for simulations - Version 1.0
Figure 5
. In algebraic mode:
Figure 6
. In algebraic mode:
Figure 7
. In algebraic mode:
Figure 8
. In algebraic mode:
Figure 9

Advertisement

loading