summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.15/10_15.sce
blob: e871bae4177f39aa6344ac8c5ccb6fbff7c37dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;
clear;
lambda1=400 //wavelength in nm
lambda2=300 //wavelength in nm
V1=0.82 //stopping potential in V
V2=1.85 //stopping potential in V
c=3*10^8 //velocity of light in m/s
e=1.6*10^-19 //charge in C

//calculation
h=(e*(V1-V2)*(lambda1*10^-9)*(lambda2*10^-9))/(c*(lambda2-lambda1)*10^-9)

mprintf("\nThe Plancks constant is = %1.3e J-s\n",h)
mprintf("The photoelectric current will not be obtained as the stopping potential does not depend on the intensity of light")