Input interpretation
line segment | endpoints (1, 5) | (5, -4) | midpoint
Result
(3, 1/2) = (3, 0.5)
Properties of line segment
midpoint | (3, 1/2) = (3, 0.5)
length | sqrt(97)~~9.84886
slope | -9/4 = -2.25