summaryrefslogtreecommitdiff
path: root/671/CH2/EX2.6/2_6.sce
blob: 8d28a39063a4317300b0d512ed4dfea9306be537 (plain)
1
2
3
4
5
6
7
8
//Converting Voltage source with series resistance to current source
I=1/(1/4)

//KCL at nodes 1,2,3 using conductances
A=[11,-3,-4;-3,6,-2;-4,-2,11]
V=inv(A)*[5;-7;6]

disp(V)