summaryrefslogtreecommitdiff
path: root/1427/CH34/EX34.4/34_4.sce
blob: f596e9cea9ffb65b22da905fa459584c6c33a393 (plain)
1
2
3
4
5
6
7
8
9
//ques-34.4
//Calculating wavelength and frequency and wave number of light
clc
E=30;//energy (in kcal/mol)
E=E*4.184;//(in kJ/mol)
f=E/(6.023*10^23*6.626*10^-34);
w=(3*10^8)/f;
wn=1/w;
printf("The energy is %.1f kJ/mol, wavelength is %.0f nm, frequency is %.3f*10^14 Hz and %.2f*10^-8 /m.",E,w*10^6,f*10^-11,wn);