blob: 5a039acdd89e14c372ce50bf8cf80f6096f8f6be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Example number 5.2, Page number 85
clc;clear;
close;
//Variable declaration
V=1600; //potential energy of electron(V)
//Calculation
lamda=12.27/sqrt(V); //wavelength(m)
//Result
printf("wavelength is %f Angstrom",lamda)
//answer given in the book is wrong
|