Problem Set #5

Problem Set#5 - Egm 3344 Problem Set#5 Sorting Number 26 Problems Completed 8.3 8.4 8.6 8.10 9.5 9.6 9.7 9.8 9.12 10.3 10.5 10.8 11.1 11.3 11.13

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

Egm 3344 Problem Set #5 Sorting Number 26 Problems Completed 8.3; 8.4; 8.6; 8.10; 9.5; 9.6; 9.7; 9.8; 9.12; 10.3; 10.5; 10.8; 11.1; 11.3; 11.13; 12.1; 12.7

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

View Full Document
Problem 8.3 % Problem 8.3 function Prob8_3 % Original Eqn's % 50 = 5*x1 - 7*x2; % 4*x2 + 7*x3 + 30 = 0; % x1 - 7*x3 = 40 - 3*x2 + 5*x1; % Modified Eqn's % 5*x1 + 0*x2 - 7*x3 = 50 % 0*x1 + 4*x2 + 7*x3 = -30 % -4*x1 + 3*x2 -7*x3 = 40 A = [ 0 -7 5; 0 4 7; -4 3 -7;]; B = [ 50; -30; 40]; x = A\B Ai = inv(A) At = A' OUTPUT EDU>> Prob8_3 x = -15.1812 -7.2464 -0.1449 Ai = -0.1775 -0.1232 -0.2500 -0.1014 0.0725 0 0.0580 0.1014 0 At = 0 0 -4 -7 4 3 5 7 -7
Problem 8.4 %Problem 8.4 function Prob8_4 % a) A = [ 6 -1; 12 8; -5 4]; B = [4 0; .5 2]; C = [ 2 -2; -3 1]; A*B A*C B*C C*B % b) % B*A and C*A both cannot me performed because the matrix dimesions % do not agree B and C are 2x2 matricies and A is a 3x2 matrix with % m x n matricies the 'n' dimension of the first matrix must be equal % to the 'm' dimesnsion of the second matrix % c) % Order of multiplication is important in because if the order changes, % the n dimension may no longer agreee with the m dimension as shown in % A*B succesful and B*A being unsucessful OUTPUT EDU>> Prob8_4 ans = 23.5000 -2.0000 52.0000 16.0000 -18.0000 8.0000 ans = 15 -13 0 -16 -22 14 ans = 8 -8 -5 1 ans = 7.0000 -4.0000

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

View Full Document
-11.5000 2.0000 Problem 8.6 % Problem 8.6 function Forces = Prob8_6 % Format [a1*F1 + a2*F2 + a3*F3 + H2 + V2 + V3] c1 = cos(30*pi/180); c2 = cos(60*pi/180); c3 = sin(30*pi/180); c4 = sin(60*pi/180); A = [-c1 0 c2 0 0 0; % = 0 -c3 0 -c4 0 0 0; % = 1000 c1 1 0 1 0 0; % = 0 c3 0 0 0 1 0; % = 0 0 -1 -c2 0 0 0; % = 0 0 0 c4 0 0 1]; % = 0 b = [0; 1000; 0; 0; 0; 0]; Forces = A\b; OUTPUT EDU>> Prob8_6 ans = -500.0000 433.0127 -866.0254 0 250.0000 750.0000
Problem 8.10

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 note was uploaded on 09/05/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Page1 / 14

Problem Set#5 - Egm 3344 Problem Set#5 Sorting Number 26 Problems Completed 8.3 8.4 8.6 8.10 9.5 9.6 9.7 9.8 9.12 10.3 10.5 10.8 11.1 11.3 11.13

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

View Full Document
Ask a homework question - tutors are online