summaryrefslogtreecommitdiff
path: root/1529/CH21/EX21.24/21_24.sce
blob: 55fac14624de831703fbcb8a2999316ccd08e5f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 21, Problem 24
clc;
v1=220;                             //primary voltage
v2=1760;                            //secondary voltage
R=2;                                //cable resistance
Rl=1.28e3;                          //load across secondary winding
N=v1/v2;                            //turns ratio
R1=N^2*Rl;                          //equivalent input resistance
Rin=R+R1;                           //total input resistance,
I1=v1/Rin;                          //primary current
I2=I1*N;                            //secondary current
P=I2^2*Rl;                          //power dissipated
printf("(a) Primary current = %d A\n\n",I1);
printf("(b) Power dissipated in load resistor = %d W",P);