Problem 44369. Circle/Pentagon Overlap
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a circle. The function should return the number of pentagon vertices that lie within or on the circle. The tolerance for lying on the circle is 0.02.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers316
Suggested Problems
-
Find state names that end with the letter A
1184 Solvers
-
Get the area codes from a list of phone numbers
1060 Solvers
-
Who knows the last digit of pi?
669 Solvers
-
Replace Nonzero Numbers with 1
394 Solvers
-
Height of a right-angled triangle
1842 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!