Step 1 :Given the equation for the number of diagonals in terms of the number of sides: \(d=\frac{n(n-3)}{2}\)
Step 2 :Solve for n using the quadratic formula: \(n = \frac{3 \pm \sqrt{9 + 8d}}{2}\)
Step 3 :The final answer is: \(\boxed{n=\sqrt{2d+\frac{9}{4}}+\frac{3}{2}}\)