diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3020/CH20/EX20.10/ex20_10.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3020/CH20/EX20.10/ex20_10.sce')
-rwxr-xr-x | 3020/CH20/EX20.10/ex20_10.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3020/CH20/EX20.10/ex20_10.sce b/3020/CH20/EX20.10/ex20_10.sce new file mode 100755 index 000000000..1c53c0a0c --- /dev/null +++ b/3020/CH20/EX20.10/ex20_10.sce @@ -0,0 +1,14 @@ +clc;
+clear all;
+rho=8900;//density of Ni
+m=58.71;//atomic weight of Ni
+Na=6.022e26;//avagadra's number
+u0=4*%pi*1e-7;//permiability of vacume
+N=rho*Na/m;//no of atoms per unit volume
+disp('atoms/m^3',N,'no of atoms per unit volume is:')
+um=9.27e-24;
+x=0.6*um;//bohr megneton per atom
+y=N*x;//magnetic moment per 1 gm atom
+disp('A/m^2',y,'magnetic moment per 1 gm atom is:')
+Bs=u0*y;//saturation magnetisation
+disp('Wb/m^2',Bs,'saturation magnetisation is:')
|