summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.45/EX2_45.sce
blob: 0dafdd8161830fd7059ef75852bacaaabfd69651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
clear;
clc;
printf("\nEx2.45\n");
//page no.-90
//given
E=1.56;...............//energy of e ejected in eV
lambda_o=2500*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

Eo=h*vo/e................//energy in eV

TE=Eo+E..............//total energy
//we know ,E=h*c/lambda

lambda=((h*c)/(TE*e))..........//wavelength in cm

printf("\nwavelength of incident light is 1.9*10^-5 cm\n");