P 4.2-5 Find the voltage v for the circuit shown in Figure P 4.2-5.

Answer: v = 21.7 mV

Figure P 4.2-5

 

First Label Nodes and choose a ground point.

Write the three node equations

At Node a,

At Node b,

At Node c,

 

Use MATLAB to solve for va, vb, and vc and we get

 

Ans =

    'va = 260.8696 mV'

    'vb = 336.9565 mV'

    'vc = 239.1304 mV'

 

The problem wants v which is

 

Note:  this calculation also done in MATLAB!

 

 

MATLAB Code Follows:

 

%Program to solve PH 320 Homework Problem P4.2-5

%version 2019-01-26 DW Donovan

clear all;

 

GG = [(1/125 + 1/250 + 1/500) (-1/125) (-1/250);

    (-1/125) (1/125 + 1/250) (-1/250);

    (-1/250) (-1/250) (1/250 + 1/250 + 1/500)];

II = [0 1 0]';

VV = GG\II;

va = VV(1);

vb = VV(2);

vc = VV(3);

v = va-vc;

 

Ans = {['va = ' num2str(va) ' mV'];

    ['vb = ' num2str(vb) ' mV'];

    ['vc = ' num2str(vc) ' mV']

    ['v = va - vc = ' num2str(v) ' mV']};

   

Ans

 

%{

Ans =

 

    'va = 260.8696 mV'

    'vb = 336.9565 mV'

    'vc = 239.1304 mV'

    'v = va - vc = 21.7391 mV'

%}

 

 

Please send any comments or questions about this page to ddonovan@nmu.edu

This page last updated on January 26, 2019