summaryrefslogtreecommitdiff
path: root/1319/CH2/EX2.19/2_19.sce
blob: b43a8bf2a3fc011682e85984cb310e1146535270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Star Equivalent of the delta circuit

clc;
clear;

Z12=%i*5;
Z23=%i*-5;
Z31=%i*5;

Z1=(Z12*Z31)/(Z12+Z23+Z31);
Z2=(Z12*Z23)/(Z12+Z23+Z31);
Z3=(Z23*Z31)/(Z12+Z23+Z31);

printf('Star Equivalent :\n')
disp('ohms',Z1,'Z1 =')
disp('ohms',Z2,'Z2 =')
disp('ohms',Z3,'Z3 =')