blob: 7a5e8ecb73fd17a310fea591e617b8dfb7cb48ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
// Given that
X = -0.4e-5 // magnetic susceptibility of material
H = 1e4 // magnetic field in A/m
mu_ = 4 * %pi * 1e-7 // magnetic permittivity of space
// Sample Problem 4 on page no. 18.22
printf("\n # PROBLEM 4 # \n")
printf("Standard formula used \n ")
printf(" I = Chi *H \n")
I = X * H
B = mu_ * (H + I)
printf("\n Magnetisation is %f A/m.\n Magnetic flux density is %f T.",I,B)
|