Q.
A uniform rod of mass is held stationary with the help of a light string as shown in the figure. The tension in the string is

Solution:
The free-body diagram of the rod is shown in the figure.
(Force exerted by the hinge on the rod are not shown.)
Take torque about the hinge,