summaryrefslogtreecommitdiff
path: root/1826/CH19/EX19.11
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.11
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.11')
-rwxr-xr-x1826/CH19/EX19.11/ex19_11.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1826/CH19/EX19.11/ex19_11.sce b/1826/CH19/EX19.11/ex19_11.sce
new file mode 100755
index 000000000..05654bce8
--- /dev/null
+++ b/1826/CH19/EX19.11/ex19_11.sce
@@ -0,0 +1,10 @@
+// Example 19.11, page no-548
+clear
+clc
+awt=157.25//atomic weight
+an=64//atomic number
+d=7860//density
+k=9.27*10^-24
+avg=6.023*10^26
+N=d*8*k*avg/awt
+printf("The saturation magnetisation of gadolinium is %.2f*10^6 A/m",N*10^-6)