Spectrocospic analysis and density functional theory calculation of some cyclic hetrocyclic compounds