Lab 216 codes

Lab 216 codes - -10000 10000-5600>> b=[0;0;12;0;0 I_A =...

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

View Full Document Right Arrow Icon
Appendix I, nigga. >> B = [1 1 -1;6 0 2; 6 -4 0] B = 1 1 -1 6 0 2 6 -4 0 >> b = [0; 10; 24] b = 0 10 24 >> I = mldivide(B,b) I = 2.0000 -3.0000 -1.0000 Appendix II, fellow black person. Finding I A = [0,1,0,-1,-1;1,0,-1,0,1;0,5600,0,10000,0;-6800,5600,0,0,5600;0,0,-10000,10000,- 5600] A = 0 1 0 -1 -1 1 0 -1 0 1 0 5600 0 10000 0 -6800 5600 0 0 5600 0 0
Background image of page 1

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

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

Unformatted text preview: -10000 10000 -5600 >> b= [0;0;12;0;0]; I_A = mldivide(A,b) I_A = 1.0e-003 * 0.6896 0.7958 0.7311 0.7543 0.0415 >> Iexp = [1;1;1;1;1]*10^-3 Iexp = 1.0e-003 * 1.0000 1.0000 1.0000 1.0000 1.0000 >> Percent_Error = abs((Iexp - I_A)./I_A*100) Percent_Error = 1.0e+003 * 0.0450 0.0257 0.0368 0.0326 2.3092...
View Full Document

This note was uploaded on 05/02/2011 for the course PHYSICS 121A taught by Professor Beidehe during the Spring '11 term at NJIT.

Page1 / 2

Lab 216 codes - -10000 10000-5600>> b=[0;0;12;0;0 I_A =...

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

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