I am looking for a calculation to match a resistor network. I want to be able to measure the voltage of "n volts".

The setup is like this:

n volts | r2 | ADC---r1---4.7v | r3 | Gnd

n volts will be 5 to 9.4 volts. r2 and r3 can be whatever. I would probably go with 10k for each. r1 is 10k. the ADC is 10-bit, and the voltage range is 0 - 4.7v (so the voltage cannot exceed 4.7v).

So assuming all resistors were 10k, how would I calculate the voltage of "n volts"?