Is there an algorithms to determine correct angles

Click For Summary

Homework Help Overview

The discussion revolves around plotting polar graphs manually, specifically focusing on determining appropriate values of theta for the equation \( r = \cos(5\theta) \) within the range of \([-π/5, π/5]\). The original poster expresses difficulty in finding a systematic approach or algorithm for selecting theta values to compute corresponding r, x, and y coordinates.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants suggest incrementing the angle by fixed amounts within the specified range, questioning what increment would be suitable for the task. Some mention the potential benefit of using polar graph paper for direct plotting instead of converting to Cartesian coordinates.
  • There are discussions about memorizing specific angles for sine and cosine functions, with some participants noting that using standard angles might not be applicable due to the specific range of the equation.
  • One participant raises the issue of needing a general algorithm that can be applied across different cases, indicating a desire for a more systematic method.

Discussion Status

The conversation is ongoing, with various suggestions being explored. Some participants have provided guidance on angle increments and the use of known sine and cosine values, while others are questioning the applicability of these methods to the specific problem at hand. There is no explicit consensus on a single approach, but multiple lines of reasoning are being considered.

Contextual Notes

Participants are working under the constraint of manually plotting the polar graph without the aid of calculators or technology, which influences their approach to selecting theta values. The original poster also notes the specific range of the equation as a factor in determining the appropriate angles to use.

Vital
Messages
108
Reaction score
4

Homework Statement


Hello!
I am struggling with plotting polar graphs manually (without any help of the calculator). My main unresolved issue is with finding correct values of theta in a given range.
For example, I have an equation:
$r = cos(5\theta)$

Homework Equations


and I know that the range I have to work with is [-π/5 , π/5]. Here are the values I get when arbitrary choose values of theta to compute r, then x and y.

Screen Shot 2017-06-04 at 13.25.18.png


But the problem is that I don't know of any algorithm that I could apply in any such case to choose correct values of theta - here I started with -π/5, took π/6, next π/10, and 0 for the first half.
I suppose there should be some algorithm or rules applicable for such choices.
Please, help me to fill that gap in my knowledge.

The Attempt at a Solution


Thank you very much!
 
Physics news on Phys.org
Increment the angle by fixed amounts starting at the lowest range value and ending at the highest range value . You have to decide what increment is appropriate for your application .

For example we could decide on 0.1 of π/5 as the increment .

Then starting from the lowest range value and incrementing the angle sequentially by 0.1 of π/5 we get :

- π/5 , - 0.9 x π/5 , - 0.8 x π/5 , .... , 0 , 0.1 x π/5 , 0.2 x π/5 , ... , π/5

Note though that it may be easier to get or make some proper polar graph paper and plot results directly rather than convert to Cartesian coordinates .
 
If you want to do quick plots from memory, you should use the angles inside sin() and cos() whose values you can remember. You should memorize the sin() and cos() of 0°, 30°, 45°, 60°, and 90°. Pick theta so that you are taking sin() and cos() of those angles.

(The sin() of 0°, 30°, 45°, 60°, and 90° is √0/2=0, √1/2=1/2, √2/2, √3/2, √4/2=1. And use √2/2 ≅ 1.414/2 = 0.707 and √3/2 ≅ 1.732/2 = 0.866)
 
Last edited:
Nidum said:
Increment the angle by fixed amounts starting at the lowest range value and ending at the highest range value . You have to decide what increment is appropriate for your application .

For example we could decide on 0.1 of π/5 as the increment .

Then starting from the lowest range value and incrementing the angle sequentially by 0.1 of π/5 we get :

- π/5 , - 0.9 x π/5 , - 0.8 x π/5 , .... , 0 , 0.1 x π/5 , 0.2 x π/5 , ... , π/5

Note though that it may be easier to get or make some proper polar graph paper and plot results directly rather than convert to Cartesian coordinates .

Thank you very much. I will try to follow your advice, and see where it brings me to. :) As to direct plotting, well, no, I need to do the fundamental cycle first on r theta graph, and then convert to Cartesian; all manually, without any machines. :-)
 
FactChecker said:
If you want to do quick plots from memory, you should use the angles inside sin() and cos() whose values you can remember. You should memorize the sin() and cos() of 0°, 30°, 45°, 60°, and 90°. Pick theta so that you are taking sin() and cos() of those angles.

(The sin() of 0°, 30°, 45°, 60°, and 90° is √0/2=0, √1/2=1/2, √2/2, √3/2, √4/2=1. And use √2/2 ≅ 1.414/2 = 0.707 and √3/2 ≅ 1.732/2 = 0.866)
Yes, I know all these values pretty well - seems the only topic I definitely don't have issues with. I did try using these "standard" angles, but this is wrong in this case because the range of the given equation is 2π/5. So, I wondered what algorithm should be used that works in all cases.
 
Vital said:
Yes, I know all these values pretty well - seems the only topic I definitely don't have issues with. I did try using these "standard" angles, but this is wrong in this case because the range of the given equation is 2π/5. So, I wondered what algorithm should be used that works in all cases.
The equation is cos(5θ), so for instance √2/2 = cos(5θ) when 5θ = π/4 or θ = π/20. π/20 is well within the range ±π/4. So you can get a lot of points to plot within the range of ±π/4.
 
  • Like
Likes   Reactions: Vital

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
5K
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K