For a constant resistance R (in ohms), the power P (in watts) dissipated across two terminals of a battery varies directly as the square of the current I (in amps). If a battery connected in a circuit dissipates 24 watts of power for 2 amps of current flow, how much power would be dissipated when the current flow is 5 amps?