A rope of length L and mass M is hanging from a rigid support. The tension in the rope at a distance x from the rigid support is