Two weights are hanging on a cable.
The cable is not stretchable and it's own weight is neglectable.
This Delphi program calculates the position of the weights and the forces exercised.
Below is a (reduced) picture of the program at work:
The show data button displays following (see right bottom of picture above):
Note: the positive y direction is down.
Mouseclicks on the + and - buttons change the weights or line lengths.
The weight positions are recalculated.
Click to see theory and program description