summaryrefslogtreecommitdiff
path: root/3840/CH1/EX1.3/Ex1_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3840/CH1/EX1.3/Ex1_3.sce')
-rw-r--r--3840/CH1/EX1.3/Ex1_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3840/CH1/EX1.3/Ex1_3.sce b/3840/CH1/EX1.3/Ex1_3.sce
new file mode 100644
index 000000000..a8009fe28
--- /dev/null
+++ b/3840/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+e=1.602*10**-19 //charge(coulomb)
+epsilon0=8.85*10**-12
+r0=0.281*10**-9 //equilibrium distance(m)
+alphaM=1.748 //madelung constant
+n=9 //born constant
+
+//Calculation
+CE=-alphaM*e**2*((n-1)/n)/(4*e*%pi*epsilon0*r0) //cohesive energy per molecule(eV)
+
+//Result
+printf("\n cohesive energy per atom is %0.3f eV",CE)