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
![199_6397faf9-bc30-4b30-8b72-fa7da99aa5b7.png](https://secure.tutorsglobe.com/CMSImages/199_6397faf9-bc30-4b30-8b72-fa7da99aa5b7.png)