I need an algorithm to find equation of a line without using division.
Given a line by two points on it, with coordinates: $(x_1, y_1),\ (x_2, y_2)$.
We can simply get the line equation by the formula:
$$y=y_1+(y_2−y_1)((x−x_1) / (x_2−x_1))$$
But I want to do that without using division. I want to find $y(x_0)$ for the specific $x_0$ value $(x_1<x_0<x_2)$.
Thanks in advance.