blob: 2d37a745725c35ccada5ae75c3771c61ec085a0f (
plain)
1
2
3
4
5
6
7
8
9
10
|
//ques-19.7
//Calculating ionization energy of sodium atom
clc
w=242;//wavelength (in nm)
c=3*10^8;//speed of light (in m/s)
h=6.626*10^-34;//(in Js)
Na=6.023*10^23;//(in atom/mol)
IE=(h*c)/(w*10^-9);//IE in J/atom
IE=IE*Na;//IE in J/mol
printf("The ionization energy of sodium atom is %d kJ.",IE/1000);
|