This example uses the Steinhart-Hart equation (in the function Thermistor) to determine temperature from the raw A/D converter reading.
This code is based off of information from Vernier Software and Technologies. See www.vernier.com/engineering/stem/sensors/temperature-sensor/ for more information on how thermistors are read.
Open up the Serial Monitor at 9600 baud to see temperature readings.