summaryrefslogtreecommitdiff
path: root/3651/CH1/EX1.5/Ex1_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH1/EX1.5/Ex1_5.sce')
-rw-r--r--3651/CH1/EX1.5/Ex1_5.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3651/CH1/EX1.5/Ex1_5.sce b/3651/CH1/EX1.5/Ex1_5.sce
new file mode 100644
index 000000000..0f5c737f8
--- /dev/null
+++ b/3651/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,12 @@
+//variable declaration
+I=5.14; //Ionization energy
+A=3.65; //Electron Affinity
+e=(1.6*10**-19);
+E=8.85*10**-12;
+//calculations
+E_c=I-A //Energy required
+r=e**2/(4*%pi*E*E_c*e) //Distance of separation
+
+//Result
+printf('Energy required=%0.2f eV \n",E_c)
+printf('Distance of separation =%0.2f Angstrom",r/10**-10)