I have 4 points: $Q, R, S, T$.
I know the following
- Coordinates for $R$, $T$, and $S$;
- Length of $\overline{RQ}$
- That segment $\overline{RT} < \overline{RQ} < \overline{RS}$;
- I need to figure out the coordinates of $Q$.
$R$, $T$, $S$ form a triangle and point $Q$ can be found on the line segment $\overline{TS}$. I need to get the coordinates for $Q$.
I have solutions for this problem, but they are all so convoluted and long I know I must be doing something wrong. I feel certain there must a simple elegant way to solve this. The best solution would be the simplest one since this needs to be programmed.