Hacker News new | ask | show | jobs
by xyzzyz 634 days ago
Finding intersection points of a circle with a line is equivalent to solving a system of equations, where one equation is that of a circle, (x-a)^2 + (y-b)^2 = r^2, and the second is that of a line, Ax + By = C. To solve it, you’ll be taking square roots, and not other roots. Similarly, to find intersection of two circles, you’ll be taking square roots, and not other roots.