summaryrefslogtreecommitdiff
path: root/1541/CH2/EX2.4/Chapter2_Example4.sce
blob: 7e5f680cd2d86709eb76c12ee49320f1625e2bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Chapter-2, Example 2.4, Page 2.7
//=============================================================================
clc
clear

//INPUT DATA
V1=2500;//primary voltage in V
V2=200;//Secondary voltage in V
e=(30*0.9);//Effective side of magnetic core in cm
A=(30*30*0.9*0.9*10^-4);//Area of cross section of the limb in m^2
B=1;//Maximum flux density in Wb/m^2
q=(B*A);//Maximum flux in Wb
f=50;//Frequency of power supply in Hz

//CALCULATIONS
N1=(V1/(4.44*f*q));//Number of turns in the primary
N2=(V2/(4.44*f*q));//Number of turns in the secondary

//OUTPUT
mprintf('Number of turns in the primary are %3.0f turns and Number of turns in the secondary are %3.0f turns',N1,N2)

//=================================END OF PROGRAM==============================