summaryrefslogtreecommitdiff
path: root/3718/CH1/EX1.15/Ex1_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH1/EX1.15/Ex1_15.sce')
-rw-r--r--3718/CH1/EX1.15/Ex1_15.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3718/CH1/EX1.15/Ex1_15.sce b/3718/CH1/EX1.15/Ex1_15.sce
new file mode 100644
index 000000000..0a7ff3246
--- /dev/null
+++ b/3718/CH1/EX1.15/Ex1_15.sce
@@ -0,0 +1,18 @@
+//Chapter 1: Structure and Bonding
+//Problem: 15
+clc;
+
+//Declaration of Constants
+m = 9.1 * 10 ** -31 // Mass of electron, kg
+h = 6.626 * 10 ** -34 // Plank's constant, J.sec
+e = 1.602 * 10 ** -19 // Charge of electron, C
+
+// Variable
+v = 1.87 * 10 ** 9 // Velocity of electron, m/sec
+
+// Solution
+V = m * v ** 2 / (2 * e)
+lamda = h / (m * v)
+
+mprintf("The voltage is %.2e Volts\n",V)
+mprintf(" The de Broglie wavelength is %.2e m",lamda)