summaryrefslogtreecommitdiff
path: root/2453/CH3/EX3.1/3_1.sce
blob: dc9cdff460011248559cf1aecc2dae40051c75d1 (plain)
1
2
3
4
5
6
7
8
//To calculate the de Broglie wavelength
c = 3*10^8;     //velocity of light, m/sec
v = (1/10)*c;      //velocity of proton, m/sec
m = 1.67*10^-27;     //mass of proton, kg
h = 6.626*10^-34;    //planck's constant
lamda = h/(m*v);     //de Broglie wavelength, m
printf("de Broglie wavelength of proton in m is");
disp(lamda);