summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.41/EX2_41.sce
blob: b7b10c1ae4ccaba9c14d35daba6c83685b1d5c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear;
clc;
printf("\nEx2.41\n");
//page no.-87
//given
h=6.6*10^-34;..........//planck's constant in J-sec
m=9*10^-31;.........//mass of electron in kg
w=6.4*10^-19;.........//work function in joule
nu=10^15;.............//frequency in hertz

v=sqrt((2*(h*nu-w))/m)............//velocity in m/sec

printf("\nvelocity of photoelectrons is 2.108*10^5 m/sec\n");