Program Listing:

Program Lines:

Description

(In RPN mode)

 

  

This routine initializes the normal distribution 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: 70BF 26

  

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: 042A 18

  

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 Xguess.

Checksum and length: A970 12

  

This label defines the start of the iterative loop.

  

Calculates (Q( Xguess)– Q(X)).

  

 

  

 

  

 

 

 

  

Calculates the derivative at Xguess.

  

 

 

Calculates the correction for Xguess.

Statistics Programs 16-13

Page 259
Image 259
HP 35s Scientific manual This routine initializes the normal distribution program