Temperature sensor with steel head, SEN118A2B help

How do I hook up this sensor? I’m only familiar with the LM35/34 temperature sensors and those have 3 pins. This one has 2 pins…so do I just hook it up to one of the digital input pins and GND?

You may refer here:http://www.arduino.cc/playground/ComponentLib/Thermistor


Any idea on what the code would look like to have it calculate and tell me the temperature in Fahrenheit? I have zero experience in writing code.