You're going wrong by assuming the boiler is outputting 24kWs. To produce the same amount of heat (assuming 90% efficiency) it would be using 5kW/0.9 * 10p = 55.5p/hrLet's try again, heat only calculation for gas & electric, btw electric is 34p/KW capped not 38p, you've got that wrong:
GAS: 1KW =10p/h. 24KW Baxi boiler * 10p= £2.40 per hour
ELECTRIC: 1KW = 34p/h. For 3 electric rads of 5KW total * 34p = £1.70 per hour
Where am I going wrong?
PS. the old price of gas was 3.8 pence, hence my confusion mix up.