Cody

Problem 1336. Geometry: Find Circle given 3 Non-Colinear Points

This Challenge is to determine the center and radius of a circle given three non-colinear points.

Input: Points

Output: [xc, yc, r] where [xc,yc] are the center and r is the radius

Example:

Input: Points = [1 0 ; 0 -1 ; 0 1]

Output: [ 0 0 1]

Theory/Hint: The Kasa method provides a best fit circle to a set of points.

Future: 1) Circumscribe 4 points 2) Circumscribe N points 3) The Great Lego Cup Challenge

Solution Stats

49.52% Correct | 50.48% Incorrect
Last solution submitted on Jun 20, 2019

Problem Comments

Problem Recent Solvers41

Suggested Problems

More from this Author276

Problem Tags