Investigating or analyzing materials by the use of thermal means by investigating thermal coefficient of expansion