Equation of the line when its x and y intercepts are given

Author:
Mathguru
We can clearly see a line ‘c’ whose equation is lx + my = n. Its x-intercept is ‘a’ and its y-intercept is ‘b’. As we change the values of a and b using their corresponding slide bars we can observe how the position of this line changes.
Questions to think about Fix the value of a and change the value of b. What do you observe? Fix the value of b and change the value of a. What do you observe? Input values of a and b in the equation $$\frac{x}{a}+\frac{y}{b}=1$$ and compare the result with the given equation of ‘c’ i.e. lx + my = n