Solve the equation sinx=tanx and analyse the role of domain restrictions.
(i) State precisely the set of real numbers for which the equation sinx=tanx is defined.
(ii) Find all solutions of sinx=tanx in the interval (−π,π), expressing each solution in simplest exact form.
(iii) Derive the general solution of sinx=tanx for all permissible real values of x, clearly indicating any restrictions that arise from the domain of tanx.