chapter3.page06

chapter3.page06 - A:= Fill the entries of A in the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
6 1. BRIEF INTRODUCTION TO VECTORS AND MATRICES Example 1.4 . Solve the system of equation 3 x 1 - 4 x 2 + 5 x 3 = 2 - 2 x 1 + 5 x 2 = 7 x 1 - 5 x 2 + 8 x 3 = - 1 Solution The equation can be rewrite Ax = y with A = 3 - 4 5 - 2 5 0 1 - 5 8 , x = x 1 x 2 x 3 , and y = 2 7 - 1 . So in matrix form the system of equation, Ax = y, is 3 - 4 5 - 2 5 0 1 - 5 8 x 1 x 2 x 3 = 2 7 - 1 . It is a little harder to compute the inverse of a 3 × 3 matrix, we will use Mathcad to solve the equation. Here is how to do it, Type A:[Ctrl][M] at a blank area to bring up the matrix definition screen, put 3 in the both input boxes and click OK, you will get a 3 × 3 matrix place holder like
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: A := Fill the entries of A in the corresponding position, using [Tab] key to navigate among the place holders(or just click each one). • Type b:[Ctrl][M] in another blank area, the matrix defini-tion screen is up again. This time put 3 in the number of row box, and 1 in the number of column box and click OK. You will get b:= put the values of y in the corresponding position. • Type A^-1 *b= you will get the solution, which is, 154 81 175 81 80 81...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online