Find the midpoint of the line joining (−4,6)(-4,6)(−4,6) and (10,−2)(10,-2)(10,−2).
x1, y1 = -4, 6 x2, y2 = 10, -2 mid_x = (x1 + x2) / 2 mid_y = (y1 + y2) / 2 print(f"mid_x: {mid_x}") print(f"mid_y: {mid_y}")
mid_x: 3.0 mid_y: 2.0
Solution for −4+102\frac{-4 + 10}{2}2−4+10
Solution for 6+(−2)2\frac{6 + (-2)}{2}26+(−2)
Ask your own question to get a step-by-step verified solution instantly.