Two resistance filaments of same length are connected first in series and then in parallel. Find the ratio of power dissipated in both cases assuming that equal current flows in the main circuit.