1.

What will be the slope of the line given by ax + by + c = 0?(a) -a/b(b) -b/a(c) -c/a(d) a/cI got this question by my school principal while I was bunking the class.The doubt is from Computational Geometry in chapter Computational Geometry of Data Structures & Algorithms II

Answer»

The correct option is (a) -a/b

The BEST explanation: The slope of a line given by the equation ax + by + c=0 has the slope of -a/b. So two LINES having the same ratio of the coefficient of X and y will be parallel to each other.



Discussion

No Comment Found

Related InterviewSolutions