A thermistor's resistance follows R(T) = R_0 ,e^ B ( 1 T - 1 T_0 )

PHYSICS · Subjective · Fermi University Physics · Computational Physics · Scientific programming for physicists · Scientific programming for physicists

Computational Physics, Ch Letting the computer do the algebra

Problem

A thermistor's resistance follows R(T)=R0 eB(1T−1T0),R(T) = R_0\,e^{B\left(\frac{1}{T}-\frac{1}{T_0}\right)}, where R0=10.0 kΩR_0 = 10.0\,\mathrm{k\Omega} is the resistance at reference temperature T0=298 KT_0=298\,\mathrm{K}, B=3900 KB=3900\,\mathrm{K} is a material constant, and TT is the absolute temperature in kelvin. (a) Enter R(T)R(T) as a symbolic expression in the single symbol TT, with R0R_0, BB and T0T_0 already substituted as numbers, and convert it into a numerical function of a NumPy array of temperatures using lambdify. (b) Evaluate the compiled function at T=280,290,298,310,320 KT = 280, 290, 298, 310, 320\,\mathrm{K} and give each resistance to three significant figures, in kΩ\mathrm{k\Omega}. (c) Check the value at T=298 KT=298\,\mathrm{K} by substituting directly into the original symbolic expression and evaluating it numerically. State whether the two routes agree to machine precision, and explain why that agreement is expected even though the derivation involved no approximation at any stage.

Browse the problem library