a circuit contains an ac generator and a resistor. what haplens to the average power dissipated in the resistor when the frequency is doubled and the rms voltage is tripled?