summaryrefslogtreecommitdiff
path: root/3557/CH19/EX19.9/Ex19_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH19/EX19.9/Ex19_9.sce')
-rw-r--r--3557/CH19/EX19.9/Ex19_9.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3557/CH19/EX19.9/Ex19_9.sce b/3557/CH19/EX19.9/Ex19_9.sce
new file mode 100644
index 000000000..96968f541
--- /dev/null
+++ b/3557/CH19/EX19.9/Ex19_9.sce
@@ -0,0 +1,8 @@
+//Example 19.9//
+
+h=(0.6626*10^-33);//J s //Joule-second //Planck's Constant
+c=(0.2998*10^9);//m/s //meters per second //speed of light
+l=400*10^-9;//m //meters // Wavelength
+a=6.242*10^18;//eV/J //1 Coulomb of charge
+E=((h*c)/l)*a
+mprintf("E = %f eV",E)