blob: 860dd7c7cedadeb6db6ea61bd3af18b4c51291da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
|