The problem is asking for tangent circles.
Problem with the third test suite
in 3rd case,
they intersect at two points.
In geometry, tangent circles (also known as kissing circles) are circles that intersect in a single point.
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Find the logic
Sum of first n positive integers
convert matrix to single column
Sum of series II
Hanging cable - 01
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office