Pt100 thermometer by olf

while 1:
 r=input()-100
 t=0
 for i in range(9):t=(r+t*t*(5.775e-5+[0,4.183e-10*(t-100)*t][r<0]))/0.39083
 print"%.3f"%(t+273.15)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page