summaryrefslogtreecommitdiff
path: root/887/CH2/EX2.12/2_12.sce
blob: e56d7a81dee8afb221162578bbf9097625291959 (plain)
1
2
3
4
5
6
7
clc
//ex2.12
//In all the below equations, mesh currents are taken to be flown in clockwise direction
disp('The required equations to solve for mesh currents are:')
disp('R2(i1-i3)+R3(i1-i2)-VA=0')      //KVL for mesh1
disp('R3(i2-i1)+R4(i2)+VB=0')      //KVL for mesh 2
disp('R2(i3-i1)+R1(i3)-VB=0')      //KVL for mesh 3