summaryrefslogtreecommitdiff
path: root/1826/CH19/EX19.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1826/CH19/EX19.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1826/CH19/EX19.8')
-rwxr-xr-x1826/CH19/EX19.8/ex19_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1826/CH19/EX19.8/ex19_8.sce b/1826/CH19/EX19.8/ex19_8.sce
new file mode 100755
index 000000000..6d555f31f
--- /dev/null
+++ b/1826/CH19/EX19.8/ex19_8.sce
@@ -0,0 +1,14 @@
+// Example 19.8, page no-547
+clear
+clc
+ba=7.1//Bohr Magnetron
+aw=1.8*10^6 //A/m
+d=7.8*10^3
+avg=6.023*10^26
+M=157.26
+mu=4*%pi*10^-7
+k=9.27*10^-24 //Bohr Magnetron
+N=d*avg/M
+mm=N*ba*k
+B=N*mu*k*7.1
+printf("\nThe saturation magnetic field of Gd atom is %f Wb/m^2",B)