summaryrefslogtreecommitdiff
path: root/1004/CH6/EX6.3/Ch06Ex3.sci
blob: bc4ad500422d1a9ddd78dbdce1a2829ecf14896f (plain)
1
2
3
4
5
6
7
8
9
10
11
// Scilab code: Ex6.3 : Short wavelength limit : Pg: 156 (2008)
V = 50000;    // Potential difference, volts
h = 6.624e-034;    // Planck's constant, Js
c = 3e+08;    // Velocity of light, m/s
e = 1.6e-019;    // Charge of an electron, coulombs
// Since e*V = h*c/L;    // Energy required by an electron to move through a potential barrier of one volt, joules
// solving for L
L = h*c/(e*V);    // Short wavelength limit of X-ray, m
printf("\nShort wavelength limit of X-ray = %6.4f angstorm", L/1e-010);
// Result
// Short wavelength limit of X-ray = 0.2484 angstorm