The constant of spring AB is k, and the spring is un stretched when θ = 0. Knowing that R = 10 in., a = 20 in., and k = 5 lb/in., write a computer program that can be used to calculate the weight W corresponding to equilibrium for values of u from 0 to 90° using 10° increments. Using appropriate smaller increments, determine the value of u corresponding to equilibrium when W = 5 lb
