Find the coordinates of the point dividing the line segment joining (1,2)(1,2)(1,2) and (9,10)(9,10)(9,10) in the ratio 1:31:31:3.
import sympy x1, y1 = 1, 2 x2, y2 = 9, 10 m, n = 1, 3 x = (m * x2 + n * x1) / (m + n) y = (m * y2 + n * y1) / (m + n) print(f"x = {x}") print(f"y = {y}")
x = 3.0 y = 4.0
Solution for 1⋅9+3⋅11+3\frac{1 \cdot 9 + 3 \cdot 1}{1 + 3}1+31⋅9+3⋅1
Solution for 1⋅10+3⋅21+3\frac{1 \cdot 10 + 3 \cdot 2}{1 + 3}1+31⋅10+3⋅2
Ask your own question to get a step-by-step verified solution instantly.