Question 492553
<pre>
{{{drawing(400,400,-2,6,-2,6, graph(400,400,-2,6,-2,6),
locate(1.15,5.3,"(2,5)"), locate(4,2.95,"(4,3)"),

grid(1), green(line(2,5,4,3))   )}}}

You could find it with a right triangle with the green line as
the hypotenuse, but we'll use the distance formula instead:

{{{d=sqrt((x[2]-x[1])^2+(y[2]-y[1])^2)=sqrt((4-2)^2+(3-5)^2)=

sqrt((2)^2+(-2)^2) = sqrt(4+4) = sqrt(8) = sqrt(4*2) = sqrt(4)sqrt(2)=2sqrt(2)=2.8
}}}

Now we'll use the midpoint formula:

{{{"Midpoint" = 

(matrix(1,3, (x[1]+x[2])/2,  ",", (y[1]+y[2])/2  ) ) =

(matrix(1,3, (2+4)/2,  ",", (5+3)/2  ) ) = (matrix(1,3, 6/2,  ",", 8/2  ) ) =

(matrix(1,3, 3,  ",", 4  ) )
}}}

Edwin</pre>