summaryrefslogtreecommitdiff
path: root/3890/CH3/EX3.1/Ex3_1.sce
blob: afbcb0adf6add75b602f31e4c0238d6142f9b30e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Electric machines and power systems by Syed A Nasar
//Publisher:TataMcgraw Hill
//Year: 2002 ; Edition - 7 
//Example 3.1
//Scilab Version : 6.0.0    ; OS : Windows

clc;
clear;

E=220;                  //Emf of the tranformer in volt
f=60;                   //Frequency of the transformer in Hz
fl=5*10^-3;            //flux in wb

N1=E/(4.44*f*fl);                //turns in primary winding
N2=N1/2;                        //turns in secondary winding

printf('Number of turns in primary winding is %d\n',N1)
printf('Number of turns in secondary winding is %d\n',N2)