blob: 68ac349edefb128ff97040196c9c3f38a225175e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Examle 3.27
// From the diagram (3.45) Apply KCL to the circuit
// will get (V-10)/2 +(V-0)/4 +(V-8)/6 = 0
// Using nodal analysis
// hance we can get V= 6.91
V=6.91; // Voltage at the node
I=V/(1+3); // Current (I)
disp(' Current (I) = '+string(I)+' Amp');
// p 84 3.27
|