summaryrefslogtreecommitdiff
path: root/3871/CH13/EX13.8/Ex13_8.sce
blob: bba9c53ce6650fb0e9969e41ff37b348240f7a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//=====================================================================================
//Chapter 13 example 8

clc;clear all;

//variable declaration
d   = 0.1;       //diameter in m
a   = 33.5*10^-6;     //cross sectional area of iron ring in m^2
Ns   = 220;        //number of turns on secondary coil
Nm   = 320;        //number of turns on magnetising winding 
I    = 10;         //current in A
B    = 2.5*10^-3;      //flux in Wb
n    = 102;           //reading of scale 
g     = 272;         //galvanometer throw


//calculations
l   = (%pi)*d;     //mean length of iron ring in m
H    = (Nm*I)/(l);    //magnetising force with 10 A current 
K    = B/(n);    
//2*phi*Ns  = K*g
phi   = (K*g)/(2*Ns);     //flux in Wb
B1     = phi/(a);    //flux density in Wb/m**2
u0    = 4*%pi*10^-7;
//B  = u0*ur*H
x    = u0*H;
//B    = x*ur
//ur  = B/x
ur    = B1/x;    //relative permeability 

//result
mprintf("relative permeability = %3.1f",ur);