summaryrefslogtreecommitdiff
path: root/3845/CH29/EX29.6
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH29/EX29.6')
-rw-r--r--3845/CH29/EX29.6/Ex29_6.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3845/CH29/EX29.6/Ex29_6.sce b/3845/CH29/EX29.6/Ex29_6.sce
new file mode 100644
index 000000000..56114b346
--- /dev/null
+++ b/3845/CH29/EX29.6/Ex29_6.sce
@@ -0,0 +1,11 @@
+//Example 29.6
+E=2.48;//Photon energy (eV), See Example 29.5
+E=E*1.60*10^-19;//Photon energy (J)
+c=3*10^8;//Speed of light (nm/s)
+p1=1.33*10^-27;//Photon momentum (kg.m/s), See Example 29.5
+printf('Photon momentum = %0.2e kg.m/s (p=h/lambda, See Example 29.5)',p1)
+p=E/c;//Photon momentum (kg.m/s)
+printf('\nPhoton momentum = %0.2e kg.m/s (p=E/c)',p)
+//Answer varies due to round off error
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest