summaryrefslogtreecommitdiff
path: root/3850/CH37/EX37.1/Ex37_1.sce
blob: 5aa9dfa6a58f976d4f689c7cea40e87ce348661d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

//To Calculate the Intensity of Magnetization of Bar Magnet

//Example 37.1

clear;

clc;

m=6.6*10^-3;//Mass of bar magnet (made of steel) in kg

rho=7.9*10^3;//Density of steel in kg/m^3

M=2.5;//Magnetic Moment of Bar Magnet in A-m^2

V=m/rho;//Volume of bar magnet in m^3

I=M/V;//Intensity of Magnetization in A/m

printf("Intensity of magnetization of bar magnet = %.1f*10^6 A/m",I*10^-6);