HP 15c User Manual

Page 140

Advertising
background image

140

Section 4: Using Matrix Operations

140

Keystrokes

Display

´>5

083-42,16, 5

Calculates slope as (

f)

T

s.

1

084- 1

v

085- 36

l|B

086-45,43,12

|n

087- 43 32

Exits with slope in X-register.

´bA

088-42,21,11

Main routine.

0

089- 0

O6

090- 44 6

´b2

091-42,21, 2

1

092- 1

O+6

093-44,40, 6

Stores j + 1 in R

6

.

´i3

094-42, 8, 3

G7

095- 32 7

Branches to line search.

l6

096- 45 6

´•0

097-42, 7, 0

´©

098- 42 31

Pauses with j + 1 in display.

´>1

099-42,16, 1

Sets R

0

=R

1

=1 for viewing.

´i3

100-42, 8, 3

l9

101- 45 9

Recalls f(x)

¦

102- 31

Stops program.

l3

103- 45 3

Recall e.

l>E

104-45,16,15

´>8

105-42,16, 8

Calculates ||

f(x)||.

106- 43 10

Tests ||

f(x)|| ≤ e.

tB

107- 22 12

Branch for showing solution.

´©

108- 42 31

Shows ||

f(x)||.

l5

109- 45 5

l6

110- 45 6

|T8

111-43,30, 8

Tests (j + 1) < N.

t2

112- 22 2

Branch to continue iterating.

l>C

113-45,16,13

|a

114- 43 16

Displays Error 1 with C in X-
register.

t2

115- 22 2

Branch for continuing.

´bB

116-42,21,12

Routine to show solution.

|F9

117-43, 4, 9

Sets blink flag.

¦

118- 31

Stops with ||

f(x

j + 1

)|| in display.

tB

119- 22 12

Looping branch.

Advertising