You are on page 1of 3

P4.3-4.

Determine the values of the node voltages, v1, v2 and v3 in the circuit shown in
Figure P4.3-4

Figure P 4.3-4

Write out the node equations

Nodes v1 and v3 are a supernode, so we have the following two equations

𝒗𝟑 = 𝒗𝟏 + 𝟏𝟓 𝑽
and
𝟏 𝟏 𝟏 𝟏 𝟏 𝟏
𝟎 = 𝒗𝟏 ( + ) + 𝒗𝟑 ( + ) − (−𝟏𝟓 𝑽) ( ) − (𝟏𝟎 𝑽) ( )
𝟐𝟎 𝛀 𝟐𝟓 𝛀 𝟓𝟎 𝛀 𝟏𝟎 𝛀 𝟐𝟎 𝛀 𝟏𝟎 𝛀
𝟏 𝟏
− 𝒗𝟐 ( + )
𝟐𝟓 𝛀 𝟓𝟎 𝛀

For Node v2
𝟏 𝟏 𝟏 𝟏 𝟏
𝟎 = 𝒗𝟐 ( + + ) − 𝒗𝟏 ( ) − 𝒗𝟑 ( )
𝟐𝟓 𝛀 𝟓𝟎 𝛀 𝟒𝟎 𝛀 𝟐𝟓 𝛀 𝟓𝟎 𝛀

Simplify by finding common denominators

𝟓+𝟒 𝟐 + 𝟏𝟎 𝟓 𝟏𝟎 𝟒+𝟐
𝟎 = 𝒗𝟏 ( ) + 𝒗𝟑 ( ) + 𝟏𝟓 𝑽 ( ) − 𝟏𝟎 𝑽 ( ) − 𝒗𝟐 ( )
𝟏𝟎𝟎 𝛀 𝟏𝟎𝟎 𝛀 𝟏𝟎𝟎 𝛀 𝟏𝟎𝟎 𝛀 𝟏𝟎𝟎 𝛀

𝟎 = 𝟗𝒗𝟏 + 𝟏𝟐𝒗𝟑 + 𝟕𝟓 𝑽 − 𝟏𝟎𝟎 𝑽 − 𝟔𝒗𝟐

𝟗𝒗𝟏 + 𝟏𝟐𝒗𝟑 − 𝟔𝒗𝟐 = 𝟐𝟓 𝑽

𝟖+𝟒+𝟓 𝟖 𝟒
𝟎 = 𝒗𝟐 ( ) − 𝒗𝟏 ( ) − 𝒗𝟑 ( )
𝟐𝟎𝟎 𝛀 𝟐𝟎𝟎 𝛀 𝟐𝟎𝟎 𝛀

𝟎 = 𝟏𝟕 𝒗𝟐 − 𝟖 𝒗𝟏 − 𝟒 𝒗𝟑
So our three equations and three unknowns are:

𝟗𝒗𝟏 − 𝟔𝒗𝟐 + 𝟏𝟐𝒗𝟑 = 𝟐𝟓 𝑽

𝟖 𝒗𝟏 − 𝟏𝟕 𝒗𝟐 + 𝟒 𝒗𝟑 = 𝟎

𝒗𝟏 − 𝒗𝟑 = −𝟏𝟓 𝑽
Plug into MATLAB

Answers are
𝒗𝟏 = −𝟕. 𝟗𝟖 𝑽
𝒗𝟐 = −𝟐. 𝟏𝟏 𝑽
𝒗𝟏 = 𝟕. 𝟎𝟐 𝑽

MATLAB Code follows:

%Program to solve homework problem PH 320 P04P03D04


%version 2019-01-29 DW Donovan
clear all;

A = [9 -6 12;8 -17 4;1 0 -1];


B = [25 0 -15]';
xx = A\B;

x1 = xx(1);
x2 = xx(2);
x3 = xx(3);

Ans = {['v1 = ' num2str(x1) ' V'];


['v2 = ' num2str(x2) ' V'];
['v3 = ' num2str(x3) ' V']};

Ans

%{
Ans =
'v1 = -7.9825 V'
'v2 = -2.1053 V'
'v3 = 7.0175 V'
%}
Dr. Donovan's PH 320 PH 320 Homework
Homework Page Chapter 4 Page

Dr. Donovan's Main NMU Physics


NMU Main Page
Web Page Department Web Page
Please send any comments or questions about this page to ddonovan@nmu.edu
This page last updated on February 13, 2021

You might also like