Input ten Points, calculate every possible straight line from each possible pair of points and check if any of the other points are on the lines.
Is something like this possible in mathematica? and if so how?
I have to create a script that can take in up to ten points (x, y) and automatically generates a straight line between every combination of two points and then checks, for each line, if any of the remaining points points are on this straight line.
Can anyone help me?