# ISE212_HW1A_Answers - ISE212 Engineering Computing: MATLAB...

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

ISE212 Engineering Computing: MATLAB Spring_2007 Homework #1A Due:Friday 2/16 Use the digital drop-box in blackboard to hand-in your HW to the TA. 1. Write an executable script file (m-file) that takes no input and returns a vector solving the following system of equations using matrix operations. (Determine the values of s , u , p , and w) . Also, include the inverse of the left-hand coefficient 4x4 matrix. Use plenty of comments to annotate your code and include your name in the m-file. (Name your m-file>>> solve.m). 16 s + 32 u + 33 p + 13 w = 91 5 s + 11 u + 10 p + 8 w = 16 9 s + 7 u + 6 p + 12 w = 5 34 s + 14 u + 15 p + w = 43 Ans= % Script file: solve.m % Purpose: To calculate/solve a simultaneous system of equations % Date: 02/07    Programmer:  xxxxxxx          % Define Variables: %   A    >>> 4 X 4 matrix of L-hand coefficients %   B    >>> 4 X 1 vector of R-hand coefficients %   X    >>> 1 X 4 vector of unknowns

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This homework help was uploaded on 04/16/2008 for the course ISE 212 taught by Professor ? during the Fall '08 term at Binghamton University.

### Page1 / 2

ISE212_HW1A_Answers - ISE212 Engineering Computing: MATLAB...

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

View Full Document
Ask a homework question - tutors are online