summaryrefslogtreecommitdiff
path: root/3651/CH3/EX3.7/7.sce
blob: 7e1611fe72196ced975616fe643b9e1831c912d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Variable declaration
M=1.676*10**-27             //Mass of neutron
m=0.025
v=1.602*10**-19
h=6.62*10**-34

//Calculations
mv=(2*m*v)**(1/2)
lamda=h/(mv*M**(1/2))

//Result
printf('wavelength =%0.3f  Angstorm \n ',(lamda*10**10))