## Calculus (3rd Edition)

$2kg$
The total mass is given by $$M=\int_0^2 1+0.5\sin \pi x dx=x-\frac{1}{2\pi}\cos \pi x|_0^{2}=2kg.$$