InterviewSolution
Saved Bookmarks
| 1. |
If `theta` is the acute angle between the lines with slopes m1 and m2 then `tantheta = (m_1 -m_2)/(1+m_1m_2)`. 2) if p is the length the perpendicular from point P(x1, y1) to the line ax+ by +c =0 then p= `(ax_1+by_1+c)/(sqrt(a^2+b^2))` |
|
Answer» `tanA/tanB=m_1/m_2` `tantheta=tan(A_B)=(tanA-tanB)/(1+tanAtanB)` `tantheta=(m_1-m_2)/(1+m_1m_2)` `|OP|=|(ax_1+by_1+c)/sqrt(a^2+b^2)|` `P=|(ax_1+by_1+c)/sqrt(a^2+b^2)|`. |
|