{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EXAM3 - THIRD IN-TERM EXAM Name EGM 3344 Introduction to...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
4-3-08 Name: EGM 3344 Introduction to Numerical Methods of Engineering Analysis THIRD IN-TERM EXAM In this exam you may use only one 8.5x11” formula page, and a pen or a pencil ( no computers or calculator s).. Please sign a pledge that you have not violated any of the university honesty provisions with regards to this exam. (1%)_____________________ 1. (8%) Given the matrices 1 1 2 1 A B       Calculate the products AB and BA Solution: AB=[2], 1 2 1 2 BA 2. Given the two equations 1 2 1 2 4 8 4 6 9 x x x x , (a) (8%) solve by Gaussian elimination; (b) (7%) write Matlab code to solve by left division (backslash) operator. Solution: (a) Subtract first equation times ¼ from second 1 2 2 4 8 4 8 8 x x x Second equation gives x 2 =1, and then first equation gives x 1 =3. (b) A=[4 -8; 1 6]; b=[1;8]; x=A\b
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon