blob: 0ea28b0aa25e195685d6fc3c880a6e4543985d14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Equivalent resistance and leakage reactance wrt primary
clc;
clear;
P=1200;
V=60;
I1=100;
R1eq=P/(I1^2);
Zeq=V/I1;
X1eq=sqrt((Zeq^2)-(R1eq^2));
// Secondary short circuited there the parameters calculated are wrt to primary itself
printf('Equivalent Resistance of the transformer w.r.t primary = %g ohms \n',R1eq)
printf('Leakage Reactance of the transformer w.r.t primary = %g ohms \n',X1eq)// Text Book Error Please note
|