blob: ea4b6b344ce4f833e1dcbf651559bfda49adfb2f (
plain)
1
2
3
4
5
6
7
8
|
//ques-35.3
//Calculating energy per mole and frequency and wave number
clc
w=200;//wavelength (in nm)
E=(6.023*10^23*6.625*10^-34*3*10^8)/(w*10^-9);
f=(3*10^8)/(w*10^-9);
w_n=1/(w*10^-9);
printf("The energy for 200 nm is %.1f kJ/mol, frequency is %.1f*10^15 Hz and wave number is %d /m.",E/1000,f*10^-15,w_n);
|