This problem does not have an unique solution. Unless the angle between two points on an arc is 180 degrees, there is always two possible positions for the center. The problem should specifiy which is the right one, or accept both answers. I solved it using the center with the smallest distance to the origin.
Prime factor digits
Project Euler: Problem 8, Find largest product in a large string of numbers
Getting the indices from a vector
Create an 'arrow-head" matrix
Molecule Atomic Wt (CHONS) Molecules
Squares in Squares - Concentric Squares
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