summaryrefslogtreecommitdiff
path: root/1427/CH19/EX19.5/19_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH19/EX19.5/19_5.sce')
-rw-r--r--1427/CH19/EX19.5/19_5.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH19/EX19.5/19_5.sce b/1427/CH19/EX19.5/19_5.sce
new file mode 100644
index 000000000..61fa79dac
--- /dev/null
+++ b/1427/CH19/EX19.5/19_5.sce
@@ -0,0 +1,7 @@
+//ques-19.5
+//Calculating wavelength of a moving electron
+clc
+KE=4.55*10^-25;//kinetic energy (in J)
+v=sqrt((2*KE)/(9.1*10^-31));
+w=(6.6*10^-34)/(9.1*10^-31*v);
+printf("The wavelength of the electron is %.0f nm.",w*10^9);