summaryrefslogtreecommitdiff
path: root/3665/CH6/EX6.8/Ex6_8.sce
blob: eeb14a4c2b51dad90ada742090b27997ebe5fab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc//
//
//

//Variable declaration
m=9.1*10^-31;     //mass of electron(kg)
h=6.626*10^-34;    //planck's constant
E=2000*1.6*10^-19;    //energy(J)

//Calculation
lamda=h/sqrt(2*m*E);     //de broglie wavelength(m)

//Result
printf("\n de broglie wavelength is %0.4f nm",lamda*10^9)