The density is the mass per volume of an object. Therefore, the slope of the line is the density of the object.
\
The formula for the slope of a line is
slope=
y2-y1 / x2-x1
\
where *y*1 and *y*2 represent points on the *y*-axis, and *x*1 and *x*2 represent points on the *x*-axis.
Substitute numerical values into the equation using any two sets of point values from the graph. The first two points from the origin, for example, have x, y values of (1, 2) and (2, 4). Plug these numbers into the equation and solve for the slope in g/mL.
slope= 4-2 / 2-1 = 2.0