HW1_ENED1091.docx

HW1_ENED1091.docx - ENED 1091 Homework#1 Due Week of...

• 6

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

ENED 1091: Homework #1 Due: Week of February 2 nd at beginning of Recitation Problem 1 : Arithmetic Operations with Arrays Determine whether or not the following matrix operations are allowable or not. If the operation is not allowable, indicate this. Otherwise, provide the result. Do these by hand. (a) Could not operate because of undefined variable ‘a’ and ‘b’. [] (b) Could not operate because of undefined variable ‘a’ and ‘b’. (c) ans = 4 5 3 -8 -10 -6 (d ) Inner matrix dimensions must agree. (e) cannot be calculated. Problem 2 : Solving Systems of Linear Equations using Matrices Write each of the following systems of equations in matrix form: Ax = b. Then determine whether or not each of the following systems of linear equations has a unique solution. If there is a unique solution, find it. Include all MATLAB commands. (a) Matrix Equation: A = [1 2 3; -2 6 2; 0 10 8] x =[r; s; t] B = [1; -1; 3]; A*x = B Unique Solution? No det(A) = 0 A = [1 2 3; -2 6 2 ; 0 10 8]; B = [1; -1; 3]; check = det(A); if check == 0 fprintf( 'No unique solution \n' ); else

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

x = inv(A)*B; disp (x); end
This is the end of the preview. Sign up to access the rest of the document.
• Spring '14
• Fernandez
• Force, Elementary algebra, unique solution, resultant force

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern