A uniform rod of mass $m$ and length $l$ rotates in a horizontal plane with an angular velocity $\omega$ about a vertical axis passing through one end. The tension in the rod at a distance $x$ from the axis is
(a) $\frac{1}{2} m \omega^{2} x$
(b) $\frac{1}{2} m \omega^{2} \frac{x^{2}}{l}$
(c) $\frac{1}{2} m \omega^{2}\left(1-\frac{x}{l}\right)$
(d) $\frac{1}{2} \frac{m \omega^{2}}{l}\left[l^{2}-x^{2}\right]$