Find the relation for temperature gradient