how to determine the tension in a cable