A galvanometer of resistance 1000 ohms gives full scale deflection for a voltage of 20 mV. How can it be converted to measure a potential of 500 volts?