if the density of gold is 19.3g/cm3. what would be its massit occupies a volume of 4cm3?
You can cancel units in the same way that you can cancel numbers
you have
$$\dfrac{19.3g}{cm}\qquad 4cm\qquad \mbox{and you want mass which is measured in grams}$$
$$\dfrac{19.3g}{cm}\times \dfrac{4cm}{1}\\\\
=\dfrac{19.3g}{\not{cm}}\times \dfrac{4\not{cm}}{1}\\\\$$
The cm cancel out leaving 19.3*4g = 77.2g
I do almost all rates like this.
mass = density* volume
$${\mathtt{massofgold}} = {\mathtt{19.3}}{\mathtt{\,\times\,}}{\mathtt{4}} \Rightarrow {\mathtt{massofgold}} = {\mathtt{77.2}}$$
mass of gold is 77.2gm
You can cancel units in the same way that you can cancel numbers
you have
$$\dfrac{19.3g}{cm}\qquad 4cm\qquad \mbox{and you want mass which is measured in grams}$$
$$\dfrac{19.3g}{cm}\times \dfrac{4cm}{1}\\\\
=\dfrac{19.3g}{\not{cm}}\times \dfrac{4\not{cm}}{1}\\\\$$
The cm cancel out leaving 19.3*4g = 77.2g
I do almost all rates like this.