A thermocouple consists of two pieces of dissimilar metals with their ends joined together (by twisting, soldering or welding). When heat…