HP 15c User Manual
Page 143

Section 4: Using Matrix Operations
143
Keystrokes
Display
l.3
144- 45 .3
l+.3
145-45,40,.3
-
146- 30
Replaces e
i
with le
i
− 2wh, the
gradient elements.
l.2
147- 45 .2
l*.3
148-45,20,.3
Calculates lwh.
|n
149- 43 32
Now enter the necessary information and run the program.
Keystrokes
Display
|¥
Run mode.
13
´m%
13.0000
Reserves R
0
through R
.3
.
|"0
13.0000
Finds local maximum.
´U
13.0000
Activates User mode.
´>1
13.0000
2
v1
1
Enters dimensions for matrix A.
´mA
1.0000
Dimensions A to 2 × 1.
15
OA
15.0000
OA
15.0000
Stores initial estimate:
l = w = 15.
3
O2
3.0000
Stores a = 3.
0.1
O3
0.1000
Stores e = 0.1 .
0.05
O4
0.0500
Stores d = 0.05 .
4
O5
4.0000
Stores N = 4.
A
4.415 04
Slope at u
1
.
4.243 04
Slope at u
2
.
3.718 04
Slope at u
3
.
2.045 04
Slope at u
4
.
Error 1
−
A 2 1
Bounding search failed.
Since the results so far look promising (the derivatives are decreasing in magnitude), allow
five additional samples in this bounding search and set N = 8 for all subsequent iterations.
Keystrokes
Display
5
O7
5.000 00
Sets counter to 5.
8
O5
8.000 00
Sets N to 8.
¦
-3.849 04
Slope at u
5
(sign change).
1.
j + 1.