blob: 9d62ef2c95b73705deb183f1d425e3bf291724ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//chapter 5
//example 5.4
//Calculate wavelength
//page 104
clear;
clc;
//given
V=1600; // in V (Potential)
//calculate
lambda=12.27/sqrt(V); // calculation of wavelength in Angstrom
printf('\nThe wavelength is\t=%.3f Angstrom',lambda);
// Note: The answer in the book is wrong due to calculation mistake
|