Download Online Technology Guide Elementary Linear Algebra, 6e

Transcript
332600_tech_guide.qxp
2
4/22/08
4:59 PM
Page 2
Online Technology Guide
Computer Software Programs and Graphing Utilities
To help you become acquainted with the rudiments of using a computer software program
or graphing utility, the following pages contain certain introductory instructions for the
following popular systems: MATLAB, Maple, Mathematica, and Derive, as well as
information about various graphing utility models.
Introduction to MATLAB
The purpose of this introduction is to illustrate some basic MATLAB commands for linear
algebra. It is suggested that you complete the following series of simple examples while
actually working at the computer terminal. Once you have signed on to MATLAB, you
should type in your commands to the right of the prompt >>.
1. Enter the matrix
冤
1
a 4
7
2
5
8
3
6
0
冥
by typing a ⴝ [1 2 3; 4 5 6; 7 8 0] and hitting the return or enter key. Be sure to
separate the entries in each row by spaces and to terminate the rows with semicolons.
MATLAB should return the following matrix.
1
a 4
7
2
5
8
3
6
0
2. Perform the following elementary commands on the matrix a. You should obtain the
indicated results.
(a) inv冇a冈
1.7778
0.8889
ans 1.5556 0.7778
0.1111
0.2222
0.1111
0.2222
0.1111
(b) a
1
ans 2
3
4
5
6
7
8
0
(c) a*inv冇a冈
1.0000
ans 0.0000
0.0000
0
1.0000
0.0000
0.0000
0
1.0000