blob: c6ba74b949b8acf149e874850d5acc90d7795b80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc//
//
//
//Variable declaration
H=10^4; //magnetic field(amp/m)
chi=3.7*10^-3;
mew0=4*%pi*10^-7;
//Calculation
M=chi*H; //magnetisation of material(A/m)
B=mew0*(M+H); //flux density(T)
//Result
printf("\n magnetisation of material is %0.3f A/m",M)
printf("\n flux density is %0.4f wb/m^2",B)
|