HP (Hewlett-Packard) 32SII Calculator User Manual


 
16–12 Statistics Programs
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
÷÷
=
x
x
xx
dxexQ
2))((
2
2
1
5.0)(
σ
πσ
This program uses the built–in integration feature of the HP 32SIl to integrate
the equation of the normal frequency curve. The inverse is obtained using
Newton's method to iteratively search for a value of x which yields the given
probability Q(x).
Program Lines: Description


This routine initializes the standard–deviation program.


Stores default value for mean.

!


"!

Prompts for and stores mean, M.


Stores default value for standard deviation.

!

"!
Prompts for and stores standard deviation, S.

!
Stops displaying value of standard deviation.
Checksum and length: E5FA 012.0



This routine calculates Q(X) given X.

"!
%
Prompts for and stores X.

%

Calculates upper tail area.

!

Stores value in Q so VIEW function can display it.

#$

Displays Q(X).

!

Loops to calculate another Q(X).
Checksum and length: 2D6A 009.0



This routine calculates X given Q(X).

"!

Prompts for and stores Q(X).



Recalls the mean.

!
%
Stores the mean as the guess for X, called X
guess
.
Checksum and length: 35BF 006.0
!
!
!
This label defines the start of the iterative loop.
!
%

Calculates (Q( X
guess
Q(X)).