MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
In this problem the input is the coordinate of the three points in a XY plane?
how can we find out if all the three points are on the same line or not?
for example the points (1,1) , (-1,-1) , (0,0) are on the line y=x.