Keystrokes display – HP 15c User Manual

Page 104

Advertising
background image

104

Section 4: Using Matrix Operations

104

2

1

)

1

(

)

1

(

2

)

2

/

exp(

)

2

/

(

)

(

2

x

x

m

m

a

dw

w

w

f x

.

Here x

2

> x

l

> 0, a and n are known (n > 1), and m = (n − 1)/2 − l.

An initial guess for (x

l

, x

2

) is

2

2

/

,

1

)

0

(

1

a

n

x

x

and

2

2

/

1

,

1

)

0

(

2

a

n

x

x

Where

2

, p

d

x

is the pth percentile of the chi-square distribution with d degrees of freedom.

For this example,

 

2

exp

2

2

exp

2

1

)

1

(

1

1

)

(

2

2

1

2

2

1

x

x

x

x

x

n

x

n

m

m

x

F

.

Enter the following program:

Keystrokes

Display

Program mode.

´CLEARM

000-

´bA

001-42,21,11

2

002- 2

v

003- 36

´mC

004-42,23,13

Dimensions F matrix to 2 × 2.

1

005- 1

´mB

006-42,23,12

Dimensions f matrix to 2 × 1.

GB

007- 32 12

Calculates f and F.

l>A

008-45,16,11

l>B

009-45,16,12

l>C

010-45,16,13

´<Б

011-42,26,14

ч

012- 10

Calculates d

(k)

.

´<A

013-42,26,11

-

014- 30

Calculates x

(k + 1)

= x

(k)

d

(k)

.

|K

015- 43 36

´>8

016-42,16, 8

Calculates ||d

(k)

||

F

.

l>B

017-45,16,12

´>8

018-42,16, 8

Calculates ||f(x

(k)

)||

F

.

|n

019- 43 32

´bB

020-42,21,12

Routine to calculate f and F.

´>1

021-42,16, 1

´UlA

022u 45 11

Advertising