… I do get the forces right but I make mistakes with the signs.
i can only suggest that you draw a very clear diagram, carefully labelling the distances, and then write out a constraint equation such as a + b + c = L
(do you want to show us an example of your going wrong?)
Thank you tinu-tim! =)
Consider the 2nd diagram in the attachment and assume that it is attached on both ends and that x1 is extension in a and x2 is extension b.
for mass a:
-k (x1)
k(x1-x2) <--- now i am not sure whether to put a negative sign with it or positive
for mass b:
-k (x2)
k(x2-x1) <--- again i do not know what sign to put here.