Integration using the built-in 'int' command

(g/cm3) Inner core 0 - 1,221 13.1 – 12.8 Outer core 1222 - 3480 12.2 - 9.9 Lower mantle 3481 - 5621 5.6 – 4.4 Upper mantle 5622 - 6341 4.4 – 3.4 crust 6342 - 6371 2.9 – 2.2 Determine the mass and moment of inertia about an axis through the center of the earth. ................
................