Solve the below problem:
Q: Bar AC is attached to a hinge at A and to a spring of constant k that is undeformed when the bar is vertical. Knowing that the spring can act in either tension or compression, determine the range of values of P for which the equilibrium of the system is stable in the position shown.