blob: b3889aa91baa781ef9a5b10a165ef94867ea600f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//
//
//
//Variable declaration
V=15*10**3 //accelerated voltage(V)
//Calculation
lamda=1.227/sqrt(V) //wavelength of electron waves(nm)
//Result
printf("\n wavelength of electron waves is %0.2f nm",lamda)
|