summaryrefslogtreecommitdiff
path: root/3845/CH29/EX29.7
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH29/EX29.7')
-rw-r--r--3845/CH29/EX29.7/Ex29_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3845/CH29/EX29.7/Ex29_7.sce b/3845/CH29/EX29.7/Ex29_7.sce
new file mode 100644
index 000000000..01e46d425
--- /dev/null
+++ b/3845/CH29/EX29.7/Ex29_7.sce
@@ -0,0 +1,12 @@
+//Example 29.7
+lambda=0.167*10^-9;//de Broglie wavelength (m)
+h=6.63*10^-34;//Planck's constant (J.s)
+m=9.11*10^-31;//Mass of an electron (kg)
+v=h/(m*lambda);//Electron's velocity (m/s)
+printf('a.Velocity of the electron = %0.2e m/s',v)
+KE=(1/2)*m*v^2;//Kinetic energy (J)
+KE=KE*1/(1.602*10^-19);//Kinetic energy (eV)
+printf('\nb.Kinetic energy of the electron = %0.1f eV',KE)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+