A chain of mass M and length L held vertical by fixing its upper end to a rigid support. The tension in the chain at a distance y from the rigid support is
a. Mg
b. Mg(L-y)/L
c. MgL(L-y)
d. Mgy/4