An ab initio study of spectroscopic and thermodynamic characteristics of MgH2 and TiC systems. (8th March 2019)