The power \( P \) dissipated in a resistor is given by the formula:
\[
P = \frac{V^2}{R}
\]
Where:
- \( P = 100 \, \text{J/s} = 100 \, \text{W} \) (power)
- \( R = 4 \, \Omega \) (resistance)
Now, substitute the values into the formula:
\[
100 = \frac{V^2}{4}
\]
Solving for \( V^2 \):
\[
V^2 = 100 \times 4 = 400
\]
\[
V = \sqrt{400} = 20 \, \text{V}
\]
Thus, the potential difference across the resistor is 100 V.