a. Perform a general nodal analysis for the circuit in Figure 1 and write the circuit equations in matrix form.
b. R_(1)=R_(4)=R_(7)=2\Omega ,R_(2)=R_(3)=R_(5)=4\Omega ,R_(6)=8\Omega ,e_(1)=5V,e_(2)=2V,e_(3)=1V Solve the matrix equation using
MATLAB or Python to find all resistor currents and voltages for Note: Include your codes and results in your
report.