summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.47/EX2_47.sce
blob: 3971e10fa25f28b7dc78a788ae98fd66a07cd666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear;
clc;
printf("\nEx2.47\n");
//page no.-91
//given
lambda_o=6800*10^-8;..........//threshold wavelength in cm
c=3*10^10;...........//speed of light in cm/sec
e=1.6*10^-12;.........//charge in ergs
h=6.62*10^-27;........//planck's constant in ergs-sec

vo=c/lambda_o........//threshold frequency in m/s

w=h*vo/e.............//work function in eV

printf("\nwork function is 1.825 eV\n");