summaryrefslogtreecommitdiff
path: root/1826/CH19/EX19.6/ex19_6.sce
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.6/ex19_6.sce
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.6/ex19_6.sce')
-rwxr-xr-x1826/CH19/EX19.6/ex19_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1826/CH19/EX19.6/ex19_6.sce b/1826/CH19/EX19.6/ex19_6.sce
new file mode 100755
index 000000000..21477f17e
--- /dev/null
+++ b/1826/CH19/EX19.6/ex19_6.sce
@@ -0,0 +1,12 @@
+// Example 19.6, page no-545
+clear
+clc
+a=2.5*10^-10//m
+M=1.8*10^6//A/m
+e=1.6*10^-19//C
+n=2/a^3
+m=9.1*10^-31//kg
+h=6.625*10^-34
+ma=M/n
+beta1=e*h/(4*%pi*m)
+printf("The average magnetisation contributed per atom = %.3f Bohr Magneton",ma/beta1)