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 calculators).. 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 1121AB Calculate the products AB and BA Solution: AB=, 1212BA2.Given the two equations 121248469xxxx, (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 12248488xxxSecond equation gives x2=1, and then first equation gives x1=3. (b) A=[4 -8; 1 6]; b=[1;8]; x=A\b
has intentionally blurred sections.
Sign up to view the full version.