line through two points A and B
input
Ax
Ay
Bx
By
xmin
xmax
decimals
equation