An analysis of the effect of the rate of stimulation and adrenaline on the duration of the cardiac action potential