blob: b495574e50353dffb64e684f16cdfaaccca5e1ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Chapter 4 Additional Example 5
//==============================================================================
clc;
clear;
// input data
h = 6.625*10^-34 // plancks constant
m = 9.11*10^-31 // mass of electron in Kg
e = 1.6*10^-19 // charge of electron
V = 2000; // potential in volts
// Calculations
lamda = h/(sqrt(2*m*e*V)) // de Broglie wavelength
// Output
mprintf('The de-Broglie wavelength of electron = %3.4f Å',lamda*10^10);
//==============================================================================
|