integrate ((t-tau)^2) from 0 to t with respect to tau