summaryrefslogtreecommitdiff
path: root/3753/CH6/EX6.4/Ex6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH6/EX6.4/Ex6_4.sce')
-rw-r--r--3753/CH6/EX6.4/Ex6_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3753/CH6/EX6.4/Ex6_4.sce b/3753/CH6/EX6.4/Ex6_4.sce
new file mode 100644
index 000000000..c15b44a49
--- /dev/null
+++ b/3753/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,17 @@
+//Example number 6.4, Page number 6.47
+
+clc;clear;close
+
+
+// Variable declaration
+B=9.27*10**-24; // bohr magneton(ampere m**2)
+a=2.86*10**-10; // edge(m)
+Is=1.76*10**6; // saturation value of magnetisation(ampere/m)
+
+// Calculation
+N=2/a**3;
+mew_bar=Is/N; // number of Bohr magnetons(ampere m**2)
+mew_bar=mew_bar/B; // number of Bohr magnetons(bohr magneon/atom)
+
+// Result
+printf("number of Bohr magnetons is : %.2f"+" bohr magneon/atom",(mew_bar))