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

//Variable declaration
c=3*10^8;     //velocity of light(m/s)
m=1.67*10^-27;     //mass of proton(kg)
h=6.626*10^-34;    //planck's constant

//Calculation
lamda=h*10/(m*c);     //de broglie wavelength(m)

//Result
printf("\n de broglie wavelength is %0.3f *10^-14 m",lamda*10^14)