A $40 \mathrm{~N}$ block is supported by two ropes. One rope is horizontal and the other makes an angle of $30^{\circ}$ with the ceiling. The tension in the rope attached to the ceiling is approximately:
(a) $80 \mathrm{~N}$
(b) $40 \mathrm{~N}$
(c) $34.6 \mathrm{~N}$
(d) $46.2 \mathrm{~N}$