Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need the matlab part Term Project Assigned on 04/09/2018 Spring 2018 Spring 20

ID: 2292479 • Letter: I

Question

I need the matlab part

Term Project Assigned on 04/09/2018 Spring 2018 Spring 2018 Term Project Assigned on 04/09/2018 There are three parts: Part 1(hand written), Part 2 (using MATLAB) and part 3(using MULTISIM) to every problem. Please read the questions carefully. Problem No.1 a) Determine non reference node voltages using nodal analysis. b) Find three mesh currents using mesh analysis and also determine current through the resistance R2. Using superposition theorem find the current through resistance R2. Prove that the current obtained in part#1 b equal to part#1 c. Use switches to activate and deactivate sources in MULTISIM. c) d) Determine power delivered by source Bi and B2. R3 Rs BiE Where . Solve by hand, MATLAB and MULTISIM. . Show all your answers in the given sequence only. . Publish your MATLAB code in pdf format with commenting explanation part. . For MULTISIM, make a report with diagrams and explanation for each step (for diagrams you may use snipping Tool) Make some comments in your own words about the circuit and how it works Plagiarism of any kind will not be tolerated.

Explanation / Answer

R1=4;R2=2;R3=1;R4=3;R5=2; % Resistance values in the circuit
B1=10;B2=7; % Battery voltages;

%%1. Nodal Analysis;
% At node 1
% (V1-B1)/R1+V1/R2+(V1-V2)/R3=0;
% V1*(1/R1+1/R2+1/R3)+V2*(-1/R3)=B1/R1; ---- equation 1

% At node 2
%(V2-V1)/R3+V2/R4+(V2-B2)/R5=0;
% V1*(-1/R3)+V2*(1/R3+1/R4+1/R5)=B2/R5; ---- equation 2
% This is in the form of YV=I; where

Y=[(1/R1+1/R2+1/R3) -1/R3; -1/R3 (1/R3+1/R4+1/R5)];
IN=[B1/R1; B2/R5];

% and we can obtain the V by the foowing equation

V1=inv(Y)*IN
%%
%%2. Mesh Analysis
% Let us assume I1, I2 and I3 as loop votages of loop1, 2 and 3
% respectively in clockwise direction
%
% in loop1
% -B1+I1*R1+(I1-I2)*R2=0
% I1(R1+R2)+I2(-R2)=B1; ----- equation 3
%
% in loop2
% (I2-I1)R2+I2R3+(I2-I3)R4=0;
% I1(-R2)+I2(R2+R3+R4)+I3(-R4)=0 ----- equation 4
%
% in loop3
% (I3-I2)R4+I3R5+B2=0;
% I2(-R4)+I3(R4+R5)=-B2; ----- equation 5
% equation 3, 4 and are in the format of ZI=V, where

Z=[R1+R2 -R2 0;-R2 R2+R3+R4 -R4; -R4 R4+R5 0];
V2=[B1;0;-B2];

% Therefor I can be obtained by
IM=inv(Z)*V2 % Mesh currents
%%
%%3 Super position principal to find current through R2
%step1: shortening the Battery1
%Now calculatin the equvalent resistance;

RA=R1*R2/(R1+R2); % R1 parallel to R2
RB=(RA+R3)*R4/(RA+R3+R4); % RA+R3 in parallel with R4
RC=RB+R5;
IA=B2/RC; % Current passing through R5
IB=R4*IA/(RA+R3+R4); % Current Passing through R3 by current divison rule
IR21=R1*IB/(R1+R2) % Current Passing through R2 by current divison rule
%
%step2: shortening the Battery2
%Now calculating the equvalent resistance;

RD=R4*R5/(R4+R5); % R4 parallel to R5
RE=(RD+R3)*R2/(RD+R3+R2); % RD+R3 in parallel with R2
RF=RE+R1;
IC=B1/RF; % Current passing through R1
IR22=(R3+RD)*IC/(R3+RD+R2)% Current Passing through R2 by current divison rule
%
IR2=IR21+IR22

%% D. Calculating the powers
P1=abs(B1*IM(1)) % power delivered by B1
P2=abs(B2*IM(3)) % power delivered by B2
%%

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote