blob: 0a964f06042228c734b575724408b0eade8e75c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//
//
//
//Variable declaration
h=6.6*10^-34; //planck's constant(J-sec)
m=9.1*10^-31; //mass of electron(kg)
c=3*10^8; //velocity of light(m/sec)
//Calculations
lamda=h*10^10/(m*c); //wavelength of electron(angstrom)
//Result
printf("\n wavelength of electron is %0.4f angstrom",lamda)
printf("\n answer in the book varies due to rounding off errors")
|