I have just graduated from a school you would call High School and even though we talked about tangents to ellipses, we never covered rotated ellipses. So, what I am looking for, is a formula for a tangent to a rotated ellipse. I had searched the internet for solutions, but unfortunately did not come across any solutions. I hope you can help me.
What I have is an ellipse:
$(X_c,Y_c)$ = center of the ellipse.
$\phi$ = angle between the $X$-axis and the major axis of the ellipse.
$t \in [0,2\pi[$
$$\begin{cases}x = X_c + a \cos(t) \cos(\phi) - b \sin(t) \sin(\phi) \\ y = Y_c + a \cos(t) \sin(\phi) + b \sin(t) \cos(\phi) \end{cases}$$