14–10
Solving and Integrating Programs
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
∫
variable
The
programmed
∫
FN instruction does not produce a labeled display (
∫
=
value
)
since this might not be the significant output for your program (that is, you might
want to do further calculations with this number before displaying it). If you
do
want this result displayed, add a PSE (
º ¤
) or STOP (
¥
) instruction to
display the result in the X–register after the
∫
FN instruction.
If the program contains a VIEW or STOP instruction, or a message for display (an
equation with Flag 10 set), then the instruction is normally executed only once — it
is not executed each time the program is called by
∫
FN. However, if VIEW or a
message is followed by PSE, then the value or message will be displayed for one
second each time the program is called. (STOP followed by PSE is ignored.)
Example:
∫
FN in a Program.
The "Normal and Inverse–Normal Distributions" program in chapter 16 includes
an integration of the equation of the normal density function
.
e
2
)
(
dD
2
S
1
2
/
S
M
D
D
M
−
−
∫
π
The
2
)
)
((
2
÷
÷
−
S
M
D
e
function is calculated by the routine labeled F. Other routines
prompt for the known values and do the other calculations to find
Q(D)
, the
upper–tail area of a normal curve. The integration itself is set up and executed
from routine Q:
∫
Recalls lower limit of integration.
Recalls upper limit of integration. (
X
=
D
.)
Specifies the function.
Integrates the normal function using the dummy variable
D
.
Summary of Contents for 33S
Page 14: ......
Page 15: ...Part 1 Basic Operation ...
Page 16: ......
Page 56: ......
Page 64: ......
Page 82: ......
Page 92: ......
Page 122: ......
Page 138: ......
Page 157: ...Part 2 Programming ...
Page 158: ......
Page 184: ......
Page 210: ......
Page 222: ......
Page 293: ...Part 3 Appendixes and Reference ...
Page 294: ......
Page 324: ......
Page 348: ......