what is the power dissipated as heat in resistor R?