ASE 311 HW # 3 - B = [ 0 0 0 0 0 150 ]'; current = A \ B...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Usman Ansari ASE 311 HW #3 8.3) >> A = [ 0 -7 5 ; 0 4 7 ; -4 3 -7 ]; B = [ 50 ; -30 ; 40 ]; x = A \ B x = -15.1812 -7.2464 -0.1449 >> A = [ 0 -7 5 ; 0 4 7 ; -4 3 -7 ]; A' ans = 0 0 -4 -7 4 3 5 7 -7 >> A = [ 0 -7 5 ; 0 4 7 ; -4 3 -7 ];
Background image of page 1

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

View Full DocumentRight Arrow Icon
Usman Ansari inv(A) ans = -0.1775 -0.1232 -0.2500 -0.1014 0.0725 0 0.0580 0.1014 0 8.7) >> k1 = 10; k4 = 10; k2 = 30; k3 = 30; m1 = 1; m2 = 1; m3 = 1; x1 = .05; x2 = .04; x3 = .03; A = [ ((-k1-k2)/m1) (k2/m1) 0 ; (k2/m2) ((-k2-k3)/m2) (k3/m2) ; 0 (k3/m3) ((-k3-k4)/m3) ]; B = [ x1 ; x2 ; x3 ]; Acceleration = A * B
Background image of page 2
Usman Ansari Acceleration = -0.8000 0 0 8.11) >> A = [ 1 1 1 0 0 0 ; 0 -1 0 1 -1 0 ; 0 0 -1 0 0 1 ; 0 0 0 0 1 -1 ; 0 5 -20 0 -5 -2 ; 0 -5 0 -25 0 0 ];
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: B = [ 0 0 0 0 0 150 ]'; current = A \ B current = 5.1337-4.3316-0.8021-5.1337-0.8021-0.8021 8.14) function [A,B,C] = run(x1,x2,x3,x4,x5,x6); A = [ x1 x2 ; x3 x4 ; x5 x6 ]; B = [ y1 y2 ; y3 y4 ]; C = [ z1 z2 ; z3 z4 ]; for i = x1:x6; Usman Ansari i = ( 'please enter values for x' ); end for j = y1:y4; j = ( 'please enter values for y' ); end for k = z1:z4; k = ( 'please enter values for z' ); end A' B' C'...
View Full Document

Page1 / 4

ASE 311 HW # 3 - B = [ 0 0 0 0 0 150 ]'; current = A \ B...

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

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