summaryrefslogtreecommitdiff
path: root/431/CH3/EX3.14/EX3_14.sce
blob: 0b42c3afd27d9c5d07364b473044cdff41f65aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Calculate current and power input
//Chapter 3
//Example 3.14
//page 217
clear;
clc; 
disp("Example 3.14")
N1=90;                //number of primary turns
N2=180;                //number of secondary turns
R1=0.067;              //primary resistance in ohms
R2=0.233;              //secondary resistance in ohms
printf("Primary winding resistance referred to secondary side=%fohms",(R1*(N2/N1)^2))
printf("\nsecondary winding resistance referred to primary side=%fohms",(R2*(N1/N2)^2))
printf("\nTotal resistance of the transformer refferred to primary side=%fohms",((R1*(N2/N1)^2)+(R2*(N2/N1)^2)))