HP 50g User Manual Page 557

Graphing calculator.

Exponential pdf:
Exponential cdf:
Weibull pdf:
Weibull cdf:
Use function DEFINE to define all these functions. Next, enter the values of
and , e.g., 1K~‚a` 2K ~‚b`
Finally, for the cdf for Gamma and Beta cdf's, you need to edit the program
example, the Gamma cdf, i.e., the function gcdf, should be modified to read: «
x ' NUM( ∫ (0,x,gpdf(t),t))' " and stored back into @gcdf
the procedure for cdf. Use RPN mode to perform these changes.
Unlike the discrete functions defined earlier, the continuous functions defined in
this section do not include their parameters ( and/or ) in their definitions.
Therefore, you don't need to enter them in the display to calculate the functions.
However, those parameters must be previously defined by storing the
corresponding values in the variables
values
and
function ORDER. The call to the function will be the following:
ORDER({' ',' ','gpdf','gcdf',' pdf',' cdf','epdf','ecdf','Wpdf','Wcdf'})
Following this command the menu labels will show as follows (Press L to
move to the second list. Press L once more to move to the first list):
Some examples of application of these functions, for values of
shown below. Notice the variable IERR that shows up in the second screen shot.
This results from a numerical integration for function gcdf.
'epdf(x) = EXP(-x/ )/ '
'ecdf(x) = 1 - EXP(-x/ )'
'Wpdf(x) =
'Wcdf(x) = 1 - EXP(- *x^ )'
NUM to the programs produced by function DEFINE. For
have been stored, you can order the menu labels by using
* *x^( -1)*EXP(- *x^ )'
and . Once all functions and the
Repeat
.
= 2,
= 3, are
Page 17-8  