summaryrefslogtreecommitdiff
path: root/3535/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3535/CH2/EX2.3/Ex2_3.sce')
-rw-r--r--3535/CH2/EX2.3/Ex2_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3535/CH2/EX2.3/Ex2_3.sce b/3535/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..f9798dba3
--- /dev/null
+++ b/3535/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,13 @@
+//Chapter 2, Example 2.3, Page 37
+clc
+clear
+//maximum wavelength of light required to liberate photoelectrons
+A = 2.35 //eV
+h = 4.136*10**-15 // eV/s^-1
+c = 2.998*10**8 // m/s
+v = A/h
+w = c/v
+printf("v-min = %e s^-1",v);
+printf("\n Maximum wavelength = %f nm which corresponds to green",w*10**9);
+
+//Answers may vary due to round off error