- #1
thomas49th
- 655
- 0
Homework Statement
I have a graph of 5 = cos 0 and 1 = cos 180. The question is find the values for integers p and q
y = p + q cos x
p and q are integers
How do I go about doing this
Thx
thomas49th said:sorry. I mean the graph cos x starts at y = 1 when x = 0 and goes into a bucket like shape. The graph I'm given is the same as y = cos x EXCEPT that it's when x = 0 y = 5 and when x = 180 y = 1... so the lowest value of y is 1 and it's highest is 5, if you see what i mean?
Thx
thomas49th said:similtaneous equations
p = 1 + q
so 5 = 1 + q + q
so q = 2
therefore p = 3
right?
P and q represent the x and y coordinates on the graph, respectively.
To solve for p and q, you can use the trigonometric identity: cos (180 - x) = -cos x. In this case, you can rewrite the equations as 5 = cos (180 - p) and 1 = cos (180 - q). This means that p = 0 and q = 0. Therefore, p and q are both equal to 0.
The graph of 5 = cos 0 and 1 = cos 180 is a straight line passing through the origin (0,0). This is because both equations reduce to p = 0 and q = 0, which is the point of intersection for a line passing through the origin.
Solving for p and q allows us to determine the exact values of the x and y coordinates on the graph, which can be useful in understanding the behavior and properties of the cosine function.
No, there are no other solutions for p and q in this equation. This is because the cosine function is periodic and repeats after every 360 degrees, so the only solutions for p and q are 0. However, if the equations were different (e.g. 5 = cos 45 and 1 = cos 225), there may be multiple solutions for p and q.