summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.22/10_22.sce
blob: 6589f86c51bdeeb23a5dd3e9036812e9eadb1cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
clear;
h=6.63*10^-34 //Plancks constant in J-s
K_b=1.38*10^-23 //Boltzmanns constant in  m^2 kg s^-2 K^-1
T=300 //Temperature in K
m=1.00878*1.66*10^-27 //mass of neutron in kg

//calculation
lambda=(h/sqrt(3*m*K_b*T))

mprintf("The de-Broglie wavelength is = %1.2e m or 0.145 nm",lambda)