summaryrefslogtreecommitdiff
path: root/1964/CH2/EX2.10/ex2_10.sce
blob: 6d0104f415ab8c3ba87e31cc256a5e2060da80df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Chapter-2, Example 2.10, Page 96
//=============================================================================
clc;
clear;
//INPUT DATA
li=0.5;//length of iron ring mean length in m
N=220;//no of turns
I=1.2;//current in A
lg=1.2*10^-3;//length of airgap in m
ur=350;//relative permeability of iron
u0=4*%pi*10^-7;//permeability in free space
//CALCULATIONS 
MMF_produced=N*I;
Si=li/(u0*ur);//reluctance of iron path
Sg=lg/(u0);//reluctance of air gap
S=Si+Sg;//total reluctance 
Flux_density=(MMF_produced)/(S);
//OUTPUT
mprintf("Thus fluxdensity is %1.3f Wb/m^2",Flux_density);
 //=================================END OF PROGRAM==============================