blob: 9f016dc5e85ec4c56a71303d9375dade83594ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Variable declaration
chi=0.5*10**-5; //magnetic susceptibility
H=10**6; //field strength(ampere/m)
mew0=4*%pi*10**-7;
//Calculation
I=chi*H; //intensity of magnetisation(ampere/m)
B=mew0*(I+H); //flux density in material(weber/m**2)
//Result
printf('intensity of magnetisation is %0.3f ampere/m \n',I)
printf('flux density in material is %0.3f weber/m**2 \n',(B))
|