HP 39gs Master Manual page 122

Graphing calculator
Hide thumbs Also See for 39gs:
Table of Contents

Advertisement

Example 4:
Simulate 100 observations on a normal random variable N( µ =80, σ
Ensure that
is set to radian measure and type:
MODES
MAKELIST(80+ 50*( (-2*LN(RANDOM))*sin(2*RANDOM)),X,1,100,1) C2
Example 5:
Simulate 50 observations on an exponential distribution with mean = 2.
In the HOME view type:
As an illustration, the result of this particular simulation is shown
graphically on the right. Its mean turned out to be 2.067 (3 decimal
places.). Yours will be different of course - after all, that's the point of
using random numbers!
Calculator Tip
The
computer. If you use the
calculators just out of the box then you wil see the same set of numbers
on both calcu
This is because the
the same initially for all calculators. It is possible to fix this by 'seeding'
a new number using the
see page 206.
MAKELIST(-2*LN(1-RANDOM),1,50,1) C2
function is not tru
RANDOM
RANDOM
lators.
RANDOM
RANDSEED
ly 'random' any more than it is on any
command repeatedly on two
l
function uses a 'seed' value and this is
command. For information on this
122
2
=50).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

40gs

Table of Contents