summaryrefslogtreecommitdiff
path: root/3718/CH1/EX1.4
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH1/EX1.4')
-rw-r--r--3718/CH1/EX1.4/Ex1_4.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3718/CH1/EX1.4/Ex1_4.sce b/3718/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..43a2d2b8c
--- /dev/null
+++ b/3718/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,18 @@
+//Chapter 1: Structure and Bonding
+//Problem: 4
+clc;
+
+//Declaration of Constants
+c = 3 * 10 ** 8 // Speed of light,in m/sec
+m = 9.1 * 10 ** -31 // Mass of electron,in kg
+h = 6.626 * 10 ** -34 // Plank's constant,in J.sec
+
+//Declaration of Variable
+ke = 4.55 * 10 ** -25 // Kinetic Energy,in J
+
+// Solution
+v = sqrt(ke * 2 / m)
+
+lamda = h / (m * v)
+
+mprintf("The de Broglie wavelength is : %.2e m',lamda)