Two-point straight line (slope, distance, equation) calculator

X1 =
Y1 =
X2 =
Y2 =
 
Slope:
Distance:
Angle:
Equation:

Given that the coordinates of point A are (x1, y1) and the coordinates of point B are (x2, y2), find the equation of the line

(Y-Y1)/(Y2-Y1)=(X-X1)/(X2-X1)