Capacitance required
The total resistance is the sum of the resistance of the potentiometer and the external resistance.
Current through the potentiometer is
The potential drop across the potentiometer
The potential gradient = ( potential drop across the potentiometer)/ length of the potentiometer wire)