热敏电阻 温度 电阻换算
R = R(25℃)•exp[B•(1/T - 1/298.15)]Tbeta = 1/(1/(273.15+25)+1/Beta*log(Rth/R25))-273.15;求T1 =ln(Rt/R)/B+1/T2C程序:#include “math.h”const float Rp=10000.0; //10Kconst float T2 = (273.15+25.0);;//T2const float Bx = 3950.0;//Bconst float Ka = 273.15;flo