summaryrefslogtreecommitdiff
path: root/3020/CH20/EX20.3/ex20_3.sce
blob: 42a59986fc777478d63b361e774a03e79f3c394f (plain)
1
2
3
4
5
6
7
8
9
clc;
clear all;
H=1E6;//magnetic field intensity in A/m
X=-0.8e-5;//susceptibility
u0 = 4e-7*%pi;
M=X*H;//magnetization in A/m
B=u0*(M+H);//flux density in Wb/m^2;
disp('A/m',M,'magnetization is:')
disp('Wb/m^2',B,'flux density is:')