summaryrefslogtreecommitdiff
path: root/1826/CH3/EX3.6/ex3_6.sce
blob: 25af64203e3f5cdada151124cd1b1ff011cfff6f (plain)
1
2
3
4
5
6
7
8
9
10
// Example 3.6, page no-92
clear
clc
lam=10^-10//m
h=6.626*10^-34
m=1.675*10^-27
e1=1.602*10^-19//ev
e=(h^2)/(2*m*lam^2)
e=e/e1
printf("\nThe energy of thermal neutron with wavelength 1A° is %f eV",e)