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)=R0eB(T1−T01), where R0=10.0kΩ is the resistance at reference temperature T0=298K, B=3900K is a material constant, and T is the absolute temperature in kelvin.
(a) Enter R(T) as a symbolic expression in the single symbol T, with R0, B and T0 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,320K and give each resistance to three significant figures, in kΩ.
(c) Check the value at T=298K 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.