HP 15c User Manual

Page 52

Advertising
background image

52

Section 2: Working with

f

52

The program has the following characteristics:

The display format specifies the accuracy of the integrand in the same way as it does
for f

itself. However, if you specify an unnecessarily large number of display

digits, the calculation will be prolonged.

Small function values, such as Q(20), P(−20), and erfc(10), are accurately computed
as quickly as moderate values.

Keystrokes

Display

Program mode.

´CLEARM

000-

´bA

001-42,21,11

Program for P(x).

O2

002- 44 2

Stores x in R

2

.

003- 16

Calculates −x.

t2

004- 22 2

Branches to calculate P(x) = Q(−x).

´bB

005-42,21,12

Program for Q(x).

O2

006- 44 2

Stores x in R

2

.

´b2

007-42,21, 2

2

008- 2

¤

009- 11

÷

010- 10

GC

011- 32 13

Calculates erfc(

2

/

x

).

2

012- 2

÷

013- 10

Calculates
Q(x) = ½ erfc(

2

/

x

)

l2

014- 45 2

O0

015- 44 0

Stores x in R

0

.

)

016- 33

|n

017- 43 32

Returns function value.

´bC

018-42,21,13

Program for erfc(x).

1

019- 1

G4

020- 32 4

|?1

021-43, 6, 1

Tests flag 1 set.

t5

022- 22 5

Branches for flag 1 set.

1

023- 1

-

024- 30

Calculates erf(x) – 1 for flag 1 clear.

´b5

025-42,21, 5

026- 16

Calculates erfc(x).

|n

027- 43 32

Returns function value.

´bE

028-42,21,15

Program for erf(x).

0

029- 0

Advertising