Problem 45315. Find the point of intersection of tangents.
Given two points on a conic, find the point of intersection of the corresponding tangents.
The conic is given in Cartesian coordinates by:
(1-e^2)*x^2 - 2*f*(1+e)*x +y^2 = 0
Where:
1. e is the eccentricity (assume e >=0). 2. f is the x coordinate of the focus which is in the half plane x >= 0.
The conic touches the y-axis at the origin. The foci are on the x-axis.
Additional information:
The conic is:
a. A circle if e = 0
b. An ellipse if 1 > e > 0
c. A parabola if e = 1
d. A hyperbola if e > 1
e. Degenerate if f = 0
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 6 Feb 2023
Test case updated to use isinf() instead of directly comparing to inf.
Solution Comments
Show commentsProblem Recent Solvers4
Suggested Problems
-
396 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
652 Solvers
-
Matrix indexing with two vectors of indices
722 Solvers
-
When can one be the Life Member of the IEEE?
74 Solvers
-
Count letters occurence in text, specific to words with a given length.
165 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!