Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(1 point) consider the following resistor netvork with E-5V and Rj-10 for all j-

ID: 3349683 • Letter: #

Question

(1 point) consider the following resistor netvork with E-5V and Rj-10 for all j-1, . . . , 2n. i2) R R2n 2n-2 (Click on the image to enlarge) The loop cuments -1,n satisfy the system of equations n-2+36-1--0 Use MATLAB/Octave to find the loop current i14 (positive for clockwise direction) if n20 Give your answer correct to at least 4 signiicant figures. If you do not have access to MATLAB or Octave, you may try to use an online MATLAB/Octave script executor such as compleonline.com. Note that due to the way that MATLAB rounds off numbers in the "ref command, you may have to sove the system with the format A'b to get the correct Hint Th¢ MATLAB command-format long e, will ch?nge the default display of numbers to 15 digits in Scientific notation

Explanation / Answer

Matlab Script:

n=20;
for k = 1:n
if k==1
A(1,:) = [2 -1 zeros(1,n-2)];
elseif k==n
A(k,:) = [zeros(1,n-2) -1 3];
else
A(k,:) = [zeros(1,k-2) -1 3 -1 zeros(1,n-k-1) ];
end
end

b = [-5;zeros(n-1,1)];

i = A;

format long e;

disp(i(14));

output: