Solve the below problem:
Q: Rod AB is attached to a hinge at A and to two springs of constant k that are unstretched in the position shown. If h = 30 in., k = 4 lb/in., and W = 40 lb, determine the smallest distance d for which the equilibrium of the rod is stable in the given position. Each spring can act in either tension or compression.