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

//Variable declaration
m=1.674*10^-27;     //mass of proton(kg)
h=6.626*10^-34;    //planck's constant
E=0.025*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.3f nm",lamda*10^9)