blob: 5385e245f8ff62d103460bdd1e3c8ba4050a2ecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
//Ex1_7
clc;
//Given:
E=5.12*1.6*10^-19// energy in J
h=6.626*10^-34;
c=3*10^8;
wavelength=200*10^-9;
w=2.3;// in eV
//solution:
tf=E/h;// (part a)
printf("\n The threshold frequency in s^-1 is = %f ",tf)
tl=c/tf*10^10;// (part b)
printf("\n The threshold wavelength in Angstroms is = %f ",tl)
e=(h*c)/(wavelength*1.6*10^-19)// photon energy in eV (part c)
pe=e-w;
printf("\n The energy of photoelectrone in eV is = %f ",pe)
|