I'm trying to apply Nodal Analysis here.I have found that taking reference Nodes and application of Kirchhoff's laws yields some equations and on solving these equations i will get the needed result.But in this question the current sources are not given ,in the online example i just saw there was a current source and 3 equations were formed,in this text book example they have solved it some how,can some one tell me how they have formulated the equations
Nodal Analysis of a Circuit
dckirchhoffs-laws
Related Topic
- Electronic – Question about thevenin circuit analysis with voltage across voltage source
- Electronic – Application of Kirchoff’s Laws to circuit with multiple loops
- Electronic – How to write the Kirchoff’s voltage equations for this complex circuit
- Electronic – Can’t understand a given answer about a 1st Kirchhoff’s law question
- Electronic – Is it possible for the system of equations of an electric circuit to not have a unique solution
Best Answer
The sum of all currents must equate to zero.
All they did in your example is the following
i4 = i1 + i2 + i3
where
\$i_4 = \frac{20-v}{R4}\$
\$i_1 = \frac{v-50}{R1}\$
\$i_2 = \frac{v}{R2}\$
\$i_3 = \frac{v}{R3}\$
[edit] because of comment about choice of direction of current
To add another example
I randomly chose the direction of the currents. It doesn't matter what direction I choose (the math will work itself out) so long as the the sum of currents and exiting the node is zero.
Looking at my example here, I'm going to say that current entering a node is positive, and current leaving the node is negative. It doesn't have to be this way, it can be the opposite if you want, but I chose this convention. With that said, that means
\$ i_1 + i_2 - i_3 - i_4 =0\$ because current entering a node I've defined as positive and current leaving a node I've defined as negative.
\$i_1 = \frac{50-v}{R1}\$
\$i_2 = \frac{-v}{R2}\$
\$i_3 = \frac{v}{R3}\$
\$i_4 = \frac{v-20}{R4}\$
When you plug these into the equation above, you can isolate v and you'll get v= 31.147V.
So it doesn't matter which direction you think current goes, so long as you define the direction first, then write the equation for the node with your chosen direction, it'll work out.