A uniform chain of length L and total mass M hangs from a support. The entire chain is pulled upward with a constant acceleration a (where 0<a<g). Let x be the distance measured downward from the support. Which expression gives the tension T(x) at position x while the chain is accelerating?
a) T(x)=LM(g+a)x
b) T(x)=LMg(L−x)
c) T(x)=LM(g+a)(L−x)
d) T(x)=LM(g−a)(L−x)