I need to work with the lines in polar form, but i only have two points in cartesian form for each line. I tried this:
From the points, i got the slope-intercept form: $$y = mx + b$$From this url: $$y = (-cos(ø)/sin(ø))x + (r/sin(ø)) $$ Then: $$m = -cos(ø)/sin(ø) => tan(ø) = -1/m => ø = arctan(-1/m) $$ $$b = r/sin(ø) => r= bsin(ø) $$
But it didn't work. I never worked before with polar coordinates so i'm completely lost. Also, as you noticed i'm not a math guy. Can someone give me a hand and tell me why this reasoning is wrong? A solution to the problem would be also very welcome.
Thanks in advance!
HINT
Use the equations: $$r^2=x^2+y^2$$ and $$\theta = tan^{-1}\frac{y}{x}$$ and solve. Does this help.