The charge flowing through a resistance R varies with time t as Q=at−bt2, where a and b are positive constants. The total heat produced in R is b3R6a