given a 2D ellipse in 3D space parametrized as $x(t)=a\cos{t}$, $y(t)=b\sin{t}$, I would like to find the magnetic field at point $(-c,0,0)$, $c=\sqrt{a^2-b^2}$. (The current $I$ is running counter-clockwise)
Using the Biot-Savart law: $dB=\frac{\mu_0I}{4\pi}\frac{|d\vec{l}\times \vec{r}|}{r^3}$ I make use of $|d\vec{l}\times \vec{r}|=dl \cdot r \sin{\alpha}$ and then I further relate $dl$ with $dt$ as $dl=\sqrt{x'^2+y'^2}\ dt$ (calculating the length of the ellipse). Now I get something like $dB=\frac{\mu_0I}{4\pi}\int_{-\pi}^{\pi}\frac{\sin{\alpha}\sqrt{a^2-c^2\cos{t}}}{(c\cos{t}+a)^2}dt$ which may or may not be correct, but mostly I'd like to know how to relate the sine of the angle $\alpha$ between the two vectors with the parameter $t$ so I can complete the integral. I can't quite see it.