Engineering Fundamentals: An Introduction to Engineering, 4th ed.c

(Steven Felgate) #1


>> A=[0 5 0;8 3 7;9 -2 9]
A =
050
837
9-29
>> B=[4 6 -2;7 2 3;1 3 -4]
B =
46-2
72 3
13-4
>> C=[-1; 2; 5]
C =
-1
2
5
>> A+B
ans =
411-2
15 5 10
10 1 5
>> A-B
ans =
-4 -1 2
114
8-513
>>3*A
ans =
015 0
24 9 21
27 -6 27
>>A*B
ans =
35 10 15
60 75 -35
31 77 -60
>>A*C
ans =
10
33
32
>>det(A)
ans =
-45
>>
------------------------------------------------------------

■Figure 15.26
The solution to Example 15.5.

490


Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).

圀圀圀⸀夀䄀娀䐀䄀一倀刀䔀匀匀⸀䌀伀䴀圀圀圀⸀夀䄀娀䐀䄀一倀刀䔀匀匀⸀䌀伀䴀

Free download pdf