function [A, b] = resistors()
    A = zeros(8, 8);
    b = zeros(8, 1);
    
    A(1,1) =  2;
    A(1,2) =  5;
    A(1,8) =  3;
    
    A(2,2) = -5;
    A(2,3) =  3;
    A(2,4) =  2;
    A(2,5) =  4;
    
    A(3,4) = -2;
    A(3,6) =  2;
    A(3,7) =  1;
    
    A(4,1) =  1;
    A(4,2) = -1;
    A(4,3) = -1;
    
    A(5,2) =  1;
    A(5,5) =  1;
    A(5,8) = -1;
    
    A(6,3) =  1;
    A(6,4) = -1;
    A(6,6) = -1;
    
    A(7,6) =  1;
    A(7,7) = -1;
    
    A(8,4) =  1;
    A(8,5) = -1;
    A(8,7) =  1;
    
    b(1) = 10;
end
