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 θ.
