Problem-solving Procedure Clue.
First draw a free body diagram.
Balance the horizontal and vertical components of the tension.
Using the relationships obtained, get an expression for r'.
Go back