The position of the L-shaped rod shown is controlled by a cable attached at B. Knowing that the rod supports a load of magnitude P =50 lb, write a computer program that can be used to calculate the tension T in the cable for values of u from 0 to 120° using 10° increments. Using appropriate smaller increments, calculate the maximum tension T and the corresponding value of θ.
![1831_b6c7bb75-6d68-4c23-99f4-df9406ef4c09.png](https://secure.tutorsglobe.com/CMSImages/1831_b6c7bb75-6d68-4c23-99f4-df9406ef4c09.png)