summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.27/EX2_27.sce
blob: 9b6d912a3b3fcf3223c690e04a5edbcd69b5a6c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear;
clc;
printf("\nEx2.27\n");
//page no.-71
//given
h=6.63*10^-34;..............//planck's constant in joule-sec
m=1.67*10^-27;..............//mass of proton
E=1.6*10^-19;...........//energy in joule

lambda=h/sqrt(2*m*E).........//wavelength in m

printf("\nwavelength is 0.287 angstrom \n");