Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Straight Line from polar co-ordinates

  1. Jan 12, 2010 #1
    Hi All,
    This is my first post. I am an Electronics Engineer and came by this great forum while searching something for my presently running project.
    Could anyone please help me with the following:

    I have two points A(magnitude1,phase1[deg]) and B(magnitude2,phase2[deg]) on the input side. Also, I have the Time input to travel from pt.A to pt.B

    I have one polar plot as indicator output.


    I need to show on the polar plot a line which is gradually increasing from pt.A to pt.B in a straight line on the polar plot.


    You may refer the picture attached to get an idea of what I am trying to do.

    Thanks!
     

    Attached Files:

  2. jcsd
  3. Jan 13, 2010 #2
    I assume what you're looking for is the magnitude and direction of the vector from point A [itex](2,\angle 10^\circ)[/tex] to point B [itex](20, \angle 60^\circ )[/tex].

    First, convert the coordinates of each point from polar to rectangular:

    Point A:
    [tex]X = 2 \cos(10), Y = 2 \sin(10) \approx (1.970, 0.347)[/tex]

    Point B:
    [tex]X = 20 \cos(60), Y = 20 \sin(60) \approx (10, 17.321)[/tex]:



    Next, find the change in X [itex](\Delta X)[/tex] and the change in Y [itex](\Delta Y)[/tex]:

    [tex]\Delta X = X_B - X_A \approx 10 - 1.970 \approx 8.030[/tex]

    [tex]\Delta Y = Y_B - Y_A \approx 17.321 - 0.347 \approx 16.973[/tex]



    Now, find the length of the line segment [itex]M[/tex] using the Pythagorean Theorem:

    [tex]M = \sqrt{8.030^2 + 16.973^2} \approx 18.777[/tex]



    Lastly, find the angle of the line segment [itex]\alpha[/tex]:

    [tex]\alpha \approx \tan^{-1} \left( \frac{\Delta Y}{\Delta X}\right) \approx \tan^{-1} \left( \frac{16.973}{8.030} \right) \approx \tan^{-1}(2.114) \approx 64.680^\circ[/tex]

    (I only rounded the numbers for display, not for intermediate calculations)




    So, your resulting line segment from point A to point B can be represented by the vector [itex](m, \alpha) \approx (18.777, \angle 64.680^\circ)[/tex]

    Hope this helps!
     
  4. Jan 13, 2010 #3
    ^ ^ Thanks :) I implemented that in my software and it worked :)
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Straight Line from polar co-ordinates
  1. Show co-prime (Replies: 1)

  2. Co-prime of vectors (Replies: 5)

  3. Co factor (Replies: 1)

Loading...