summaryrefslogtreecommitdiff
path: root/1016/CH8/EX8.5/ex8_5.sce
blob: 7b8a6b2b89832436e3c36a09ec19ad054a800898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;clear;
//Example 8.5

//given data
V=30000;//potential difference in V
Wmin=0.414*10^-10;//short wavelength limit in m
e=1.602*10^-19;//the charge on electron in C
c=3*10^8;//speed of light in m/s

//calcualtions
h=(e*V*Wmin)/c;
disp(h,'The Plancks const in Js')