summaryrefslogtreecommitdiff
path: root/3014/CH1/EX1.18/Ex1_18.sce
blob: e51069e67d172f63f7e7c221b90f27c66969cda9 (plain)
1
2
3
4
5
6
7
8
9
10

clc 
//Given that
E = 1 // Energy of neutron in eV
m = 1.67e-27 // Mass of neutron in Kg
h = 6.62e-34 // Plank constant
printf("Example 1.18")
lambda = h/sqrt(2*m*E*1.6e-19) // Calculation of velocity of moving electron
printf("\n Wavelength of electron is %f angstrom.\n\n\n",lambda*1e10)
// Answer in book is 6.62e-22 angstrom