\includegraphics{figure_3}
Figure 3 shows a sketch of the curve \(C\) with parametric equations
$$x = 1 + 3\tan t, \quad y = 2\cos 2t, \quad -\frac{\pi}{6} \leq t \leq \frac{\pi}{3}$$
The curve crosses the \(x\)-axis at point \(P\), as shown in Figure 3.
- Find the equation of the tangent to \(C\) at \(P\), writing your answer in the form \(y = mx + c\), where \(m\) and \(c\) are constants to be found. [5]
The curve \(C\) has equation \(y = f(x)\), where \(f\) is a function with domain \(\left[k, 1 + 3\sqrt{3}\right]\)
- Find the exact value of the constant \(k\). [1]
- Find the range of \(f\). [2]