Answer
Mass percentage of C in the sample of coal is 86.27 %.
Work Step by Step
Mass percentage of C in the sample of coal = $\frac{m(C)}{m(sample)}$ $\times$ 100%
Mass percentage of C in the sample of coal = $\frac{1.584 g (C)}{1.836 g(sample)}$ $\times$ 100%
Mass percentage of C in the sample of coal = 0.8627 $\times$ 100%
Mass percentage of C in the sample of coal is 86.27 %.