Hi everyone

Are there any codes available in this forum to get a linear equation y= mx + b when given 2 points (x1,y1) and (x2,y2) ?

and to determine whether a third point (x3, y3) lies on this line ?

I'm not too well educated thus I need to catch up.

Are there any codes available in this forum to get a linear equation y= mx + b when given 2 points (x1,y1) and (x2,y2) ?

and to determine whether a third point (x3, y3) lies on this line ?

I'm not too well educated thus I need to catch up.

## Comment