summaryrefslogtreecommitdiff
path: root/3701/CH2/EX2.6/Ex2_6.sce
blob: fae1ff1b9eae3677d8f37939e657c455b7d9e3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
////Given
v0=6*10**14                              //s**-1
h=6.63*10**-34
e=1.6*10**-19
V0=3

//Calculaton
W=h*v0
W0=(h*v0)/e
V=(e*V0+h*v0)/h

//Result 
printf("\n work function is given by  %0.3f ev",W0)
printf("\n frequency is given by  %0.2f *10**15 s-1",V*10**-15)