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 - 0 8 N a m e : 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 12 1 AB        Calculate the products AB and BA Solution: AB=[2], BA    2. Given the two equations 48 4 69 xx , (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 2 4 88 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 DocumentRight Arrow Icon
Name: 3. (14%) Write Matlab code to solve the system in Problem 2 by first performing LU decomposition, and then using the matrices L and U for the solution.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/13/2010 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Page1 / 4

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

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online