This
function
is
defined
in
routine
F:
F01
LBL
F
F02
RCL
D
F03
RCL-
M
F04
RCL*
S
F05
X*
F06
2
F07
*
F08
+•-
F09
e*
F10
RTN
Other routines prompt for the known values
and
do the other calcula
tions to find
Q(D),
the upper-tail area of a normal curve. The
integration itself is set up
and
executed from routine Q:
Q01
LBL
Q
Q02
RCL
M Recalls the lower limit of integration.
Q03
RCL
X Recalls the upper limit of integration. (X =
D.)
Q04
FN=
F Specifies the function defined by
LBL
F for
integration.
Q05 /FN d D Integrates the normal function for the vari-
•
able
D.
Limitations.
The
/FN
variable
instruction
cannot
call
a
routine
that
contains another
/FN
instruction; that is, it cannot be used recursively,
so you cannot calculate multiple integrals
(X<XFN>
error). Nor can
/FN
call a routine
that
contains a FN= label instruction (JFN
ACTIVE
error).
/FN
cannot call a routine that contains a
SOLVE
in
struction (S(SOLVE) error), just as
SOLVE
cannot call a routine
that
contains an integration instruction (SOLVE<JTN> error).
The JTN d
variable
instruction in a program uses one of the seven
pending subroutine returns in the calculator. (Refer to *Nested Sub
routines* in
chapter
6.)
8:
Numerical
Integration
135