summaryrefslogtreecommitdiff
path: root/887/CH2/EX2.11/2_11.sce
blob: c77c57f4cab50d6dd75c80df39e89f201281fdf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
//ex2.11
disp('KCL for a supernode enclosing the conrolled voltage source')
disp('(V1/R2)+((V1-V3)/R1)+((V2-V3)/R3)=is')
disp('KCL at node 3')
disp('(V3/R4)+((V3-V2)/R3)+((V3-V1)/R1)=0')
disp('KCL at the reference node')
disp('(V1/R2)+(V3/R4)=is')
disp('From the closed loop with V1,Vx and V3')
disp('Vx=V3-V1')
disp('Applying KVL')
disp('V1=0.5(V3-V1)+V2')
disp('The last KVL equation along with any two of the first three KCL equations forms an independent set that can be solved for the node voltages.')