summaryrefslogtreecommitdiff
path: root/3769/CH23/EX23.7/Ex23_7.sce
blob: d031e16d049e89cd4cbb1286552dd57e2e8c06fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
clear
//Given
l=36.0*10**-8              //m
w0=2*1.6*10**-19             //J
h=6.62*10**-34               //Js
c=3*10**8
e=1.6*10**-19
m=9.0*10**-31

//Calculation
//
l0=(h*c)/w0
E=(h*c)/l
E1=(E/1.6*10**-19)*10**38
K=E1-2
v0=K
vmax=sqrt(e*v0*2/m)

//Result
printf("\n (i) Threshold wavelength is %0.0f  A",l0*10**10)
printf("\n (ii) Maximum kinetic energy of emitted photoelectrons is %0.3f  ev",K)
printf("\n (iii) Stopping potential is %0.3f  Volts",v0)
printf("\n (iv) Velocity is  %0.2f  *10**5 m/s",vmax*10**-5)