Solve the given problem:
A battery supplies 34 \(J\) of electrical energy to move 5 \(C\) of charge through a resistor.
If the current flowing through the resistor is 8 \(A\), find:
i. The potential difference across the resistor.
ii. The resistance of the resistor.
i. The potential difference across the resistor is \(V\)
ii. The resistance of the reistor is \(\Omega\)
[Note: Enter the answer upto two decimal places.]