A student wishes to measure the potential difference across a resistor,R. She has a galvanometer,G and some…