Straight Line from polar co-ordinates

Click For Summary
SUMMARY

This discussion focuses on plotting a straight line between two points in polar coordinates, specifically from point A (2, 10°) to point B (20, 60°). The conversion from polar to rectangular coordinates is essential, resulting in point A approximately at (1.970, 0.347) and point B at (10, 17.321). The change in coordinates is calculated, leading to a line segment length of approximately 18.777 and an angle of approximately 64.680°. The method described is effective for visualizing vector transitions in polar plots.

PREREQUISITES
  • Understanding of polar and rectangular coordinate systems
  • Familiarity with trigonometric functions (sine, cosine)
  • Knowledge of the Pythagorean Theorem
  • Basic programming skills for implementing calculations
NEXT STEPS
  • Learn about polar coordinate transformations in detail
  • Explore vector mathematics and its applications in engineering
  • Investigate software tools for plotting polar graphs, such as MATLAB or Python's Matplotlib
  • Study the implementation of trigonometric functions in programming languages
USEFUL FOR

Electronics engineers, software developers working on graphical representations, and anyone involved in vector mathematics or polar coordinate systems will benefit from this discussion.

pd5009
Messages
2
Reaction score
0
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!
 

Attachments

  • Temp.JPG
    Temp.JPG
    32.8 KB · Views: 487
Physics news on Phys.org
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].<br /> <br /> First, convert the coordinates of each point from polar to rectangular:<br /> <br /> Point A:<br /> [tex]X = 2 \cos(10), Y = 2 \sin(10) \approx (1.970, 0.347)[/tex]<br /> <br /> Point B:<br /> [tex]X = 20 \cos(60), Y = 20 \sin(60) \approx (10, 17.321)[/tex]:<br /> <br /> <br /> <br /> Next, find the change in X [itex](\Delta X)[/tex] and the change in Y [itex](\Delta Y)[/tex]:<br /> <br /> [tex]\Delta X = X_B - X_A \approx 10 - 1.970 \approx 8.030[/tex]<br /> <br /> [tex]\Delta Y = Y_B - Y_A \approx 17.321 - 0.347 \approx 16.973[/tex]<br /> <br /> <br /> <br /> Now, find the length of the line segment [itex]M[/tex] using the Pythagorean Theorem:<br /> <br /> [tex]M = \sqrt{8.030^2 + 16.973^2} \approx 18.777[/tex]<br /> <br /> <br /> <br /> Lastly, find the angle of the line segment [itex]\alpha[/tex]:<br /> <br /> [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]<br /> <br /> (I only rounded the numbers for display, not for intermediate calculations)<br /> <br /> <br /> <br /> <br /> 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]<br /> <br /> Hope this helps![/itex][/itex][/itex][/itex][/itex][/itex][/itex]
 
^ ^ Thanks :) I implemented that in my software and it worked :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 11 ·
Replies
11
Views
2K