Thermistor Readings

Would I not just use the simplified example code? I will just have to add that I only want the equation to be applied to whichever analog pin I have my thermistor connected to?