voltage divider for temp sensor

ok how do we know witch resistor to use..? what is the math associated with it?