Page 11-22
Let’s store the latest result in a variable X, and the matrix into variable A, as
follows:
Press
K~x`
to store the solution vector into variable X
Press
ƒ ƒ ƒ
to clear three levels of the stack
Press
K~a`
to store the matrix into variable A
Now, let’s verify the solution by using:
@@@A@@@
*
@@@X@@@
`
, which results in
(press
˜
to see the vector elements): [-9.99999999992 85. ], close enough
to the original vector
b
= [-10 85].
Try also this,
@@A@@@
*
[15,10/3,10]
` ‚ï`
, i.e.,
This result indicates that
x
= [15,10/3,10] is also a solution to the system,
confirming our observation that a system with more unknowns than equations is
not uniquely determined (under-determined).
How does the calculator came up with the solution
x
= [15.37… 2.46…
9.62…] shown earlier? Actually, the calculator minimizes the distance from a
point, which will constitute the solution, to each of the planes represented by the
equations in the linear system. The calculator uses a
least-square method
, i.e.,
minimizes the sum of the squares of those distances or errors.
Over-determined system
The system of linear equations
x
1
+ 3x
2
= 15,
2x
1
– 5x
2
= 5,
-x
1
+ x
2
= 22,
Summary of Contents for 50G
Page 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Page 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Page 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Page 257: ...Page 7 20 ...
Page 383: ...Page 11 56 Function KER Function MKISOM ...
Page 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Page 858: ...Page L 5 ...