The daily mean temperature is determined by