This system of linear equations can be written as a matrix equation, Anmxm1 = bn1, if we define the following matrix and vectors:

a

a

 

a

x

b

11

12

L

1m

1

1

A = a21

a22

 

a2 m

, x =

x2

, b = b2

 

 

 

 

 

 

 

aMn 2

 

 

 

 

aMn1

O

aMnm nm

xm m1

bn

n1

Using the numerical solver for linear systems

There are many ways to solve a system of linear equations with the calculator.

One possibility is through the numerical solver

. From the numerical

solver screen, shown below (left), select the option

4. Solve lin sys.., and

press

. The following input form will be provide (right):

stack level@@@OK@@@1. Some examples follow. @SOLVE‚Ï The system of linear equations

To solve the linear system Ax = b, enter the matrix A, in the format [[ a11, a12, … ], … [….]] in the A: field. Also, enter the vector b in the B: field.

When the X: field is highlighted, press

. If a solution is available, the

solution vector x will be shown in the X: field. TheMsolution is alsoMcopied to

2x1 + 3x2 –5x3= 13,

x1 – 3x2 + 8x3 = -13, 2x1 – 2x2 + 4x3 = -6,

can be written as the matrix equation Ax = b, if

Page 9-8

Page 125
Image 125
HP 49g Using the numerical solver for linear systems, Press Following input form will be provide right, 2x1 + 3x2 -5x3=