blob: bd730bbd621bfc6a88401e48b547040fd6d7778e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//To determine the voltage V_ab across the terminals a,b of the given network.
clc;
M_1=[3+%i*5 10;-2+%i*3 0]
D_1=det(M_1)
M_2=[3+%i*5 -2+%i*3;-2+%i*3 5+%i*5]
D_2=det(M_2)
I_2=D_1/D_2
V_ab=I_2*3
disp(V_ab,'Voltage across the terminals a,b of the given network(Polar Form)')
|