A simple way to locate the foci of an ellipse

geometrytrigonometry

I have DIY project going, and ran into the same issue as posted in the question here: stove jack for a tent

The answer was helpful, but somewhere along the line I got lost in the math… (Perhaps because the example was over simplified, using a 45 triangle with units of 1, and the distance between foci equaled the minor axis?)

Because my roof pitch isn't 45 degrees, I wanted to work the problem on a 30-60-90 triangle to make sure I understood the concept before I unfold my tent and take measurements of the actual slope. I plan on using a 4" diameter stove pipe, and created the diagram below. (apologies for the image quality)

Ellipse foci

I realize that I could make a template using a French curve like I did for my diagram above and be "close enough", but I would like to try the string method as described in the answer on the other question I linked to.

Is there a relatively easy way to calculate distance X given the angles, and/or dimensions for someone like me who is not a math whiz?

ADDENDUM:

I am accepting Parcly Taxel’s answer because it was concise, first, correct, and it pointed me in the right direction even if it didn’t state the obvious.

I understand that equations are the language of mathematics, and I didn’t ask for a plain English answer, but as I alluded to in a comment – for many of us knowledge of anything beyond the basic arithmetic we use regularly may have been hard won, and could have atrophied in the intervening decades. Even equations that are very simple for the left brained intelligentsia frequenting this venue may create anxiety for us simpletons cutting holes in our tents who need to review whether to use COS or TAN to calculate the opposite side!

I don’t want this to morph into a critique about how I was taught math, but now that I “get it” I wanted to offer an example below of how I might answer the question for an admitted non-math person. FWIW, and I welcome any feedback in the comments…

Best Answer

Say the pipe has radius $r$ and the roof has angle $\theta$ to the horizontal. The ellipse's semi-axes will be $b=r$ and $a=r\sec\theta$. Now, checking Wikipedia we find

Linear eccentricity
This is the distance from the center to a focus: $c=\sqrt{a^2-b^2}$.

So the distance between foci in our case will be $2\sqrt{r^2(\sec^2\theta-1)}=2r\tan\theta$.