summaryrefslogtreecommitdiff
path: root/3020/CH14/EX14.1/ex14_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH14/EX14.1/ex14_1.sce')
-rwxr-xr-x3020/CH14/EX14.1/ex14_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3020/CH14/EX14.1/ex14_1.sce b/3020/CH14/EX14.1/ex14_1.sce
new file mode 100755
index 000000000..9733fa0f2
--- /dev/null
+++ b/3020/CH14/EX14.1/ex14_1.sce
@@ -0,0 +1,15 @@
+clc;
+clear all;
+m = 9.1e-31; // Mass of an electron in Kg
+e = 1.6e-19; // Charge of an electron in Columbs
+h = 6.626e-34; // Planck's Constant
+V1 = 150; // Potential difference in Volts (case1)
+lambda1 = h/(sqrt(2*m*e*V1));
+disp('m',lambda1,'The de-broglie wavelength when V=150 volts is ')
+V2 = 5000; // Potential difference in Volts (case2)
+lambda2 = h/(sqrt(2*m*e*V2));
+disp('m',lambda2,'The de-broglie wavelength when V=5000 volts is ')
+V3 = 400; // Potential difference in Volts (case3)
+lambda3 = h/(sqrt(2*m*e*V3));
+disp('m',lambda3,'The de-broglie wavelength when V=400 volts is ')
+//slight variation in answer than in textbook