1
$\begingroup$

can anyone help me? I have a line $Ax+By+C=0$ (let's call it Line $1$); I want to draw a perpicidular line (Line $2$) from the center of line $1$ with a length of $10$. what I did is get the slope and intercept of line $1$ as well as the its middle point (point $m$). and I used the length equation $L=\sqrt{(\text{line}\space 2\cdot x-m\cdot x)^2+(\text{line}\space 2\cdot y-m\cdot y)^2}$, but I dont get the right result. Thanks in advance

  • 1
    is this homework?2011-03-09
  • 0
    No it's not a homework, i just want the user to draw a perpindicular line with a length that he can change anytime :)2011-03-09

6 Answers 6