The formula to calculate the density of the material of the wire is given by
ρ=πR2LM...(1)
Hence, the formula to calculate the percentage error in calculating the density of the material can be written as
ρdρ×100=[MdM+R2dR+LdL]×100...(2)
Substitute the values of the known parameters into equation (2) to calculate the required percentage error.
\begin{matrix} & = & [\frac{0.01}{0.4}+\frac{2\times 0.03}{6}+\frac{0.04}{8}]\times 100 \\ & = & 4%\end{matrix}