summaryrefslogtreecommitdiff
path: root/3665/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3665/CH1/EX1.2/Ex1_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3665/CH1/EX1.2/Ex1_2.sce b/3665/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..3bd749051
--- /dev/null
+++ b/3665/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,18 @@
+clc//
+//
+//
+
+//Variable declaration
+IPk=4.1; //IP of K(eV)
+EACl=3.6; //EA of Cl(eV)
+e=1.602*10^-19; //charge of electron(c)
+onebyepsilon0=9*10^9;
+
+//Calculation
+deltaE=IPk-EACl;
+Ec=deltaE; //energy required(eV)
+R=e*onebyepsilon0/deltaE; //seperation(m)
+
+//Result
+printf("\n energy required is %0.3f eV",Ec)
+printf("\n seperation is %0.2f nm",R*10^9)