Loading…
Loading…
LineLab
Drop in two points — get slope, distance, midpoint, and the y = mx + b equation of the line through them.
Slope m = (y₂ − y₁) / (x₂ − x₁). Distance d = √((x₂ − x₁)² + (y₂ − y₁)²). Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2).
slope = (y₂ − y₁) / (x₂ − x₁) = 2