summaryrefslogtreecommitdiff
path: root/1271/CH14/EX14.10/example14_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH14/EX14.10/example14_10.sce')
-rwxr-xr-x1271/CH14/EX14.10/example14_10.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1271/CH14/EX14.10/example14_10.sce b/1271/CH14/EX14.10/example14_10.sce
new file mode 100755
index 000000000..860dd7c7c
--- /dev/null
+++ b/1271/CH14/EX14.10/example14_10.sce
@@ -0,0 +1,14 @@
+clc
+// Given that
+f = 1.2e15 // frequency of light in Hz
+f_ = 1.1e+15 // threshold frequency of photoelectron emission in copper in Hz
+h = 6.62e-34 // Planck constant in J-sec
+c = 3e8 // speed of light in m/sec
+e = 1.6e-19 // charge on an electron in C
+// Sample Problem 10 on page no. 14.23
+printf("\n # PROBLEM 10 # \n")
+printf("Standard formula used \n ")
+printf(" 1/2 m*v^2 = h*(mu - mu_0) \n")
+E = h * (f - f_) / e
+printf("\n Maximum energy of photoelectron is %f eV.",E)
+