A 3-4-5 triangle
You enter
- X1
- 0
- Y1
- 0
- X2
- 3
- Y2
- 4
You get
- Text
- Slope: 1.333333 Distance: 5 Midpoint: (1.5, 2) Line: y = 1.333333x + 0
The run is 3 and the rise is 4, so the slope is 4 divided by 3. The distance is the square root of 3 squared plus 4 squared, which is 5. The midpoint is the average of each coordinate.
Run through the tool’s own code.