integral from r1 to r2 of r^2*(C1 + (r-r1)*(C2-C1)/(r2-r1))*dr