Dr-NiKoN
- 93
- 0
I tried asking in another forum, but I probably didn't specify enough.
Generally, given:
f(x) = a * sin(x)
g(x) = b * cos(x)
Find f(x) - g(x) using C cos(x - x0):
C cos(x - x0) = a * sin(x) - b * sin(x)
C = sqrt(a^2 + (-b)^2)
cos(x0) = (-b)/C
sin(x0) = a/C
How would one find x0?
As I understand it I must find out which kvadrant the point P = (a,-b) is in.
Given that, I can find a triangle.
ie.
P = (3, -4) is in the 4th kvadrant and gives:
C = sqrt(3^2 + (-4)^2) = 5
cos(x0) = (-4)/5
sin(x0) = 3/5
I'm pretty much lost on how I can use the knowledge of which kvadrant P is in, to find x0.
Generally, given:
f(x) = a * sin(x)
g(x) = b * cos(x)
Find f(x) - g(x) using C cos(x - x0):
C cos(x - x0) = a * sin(x) - b * sin(x)
C = sqrt(a^2 + (-b)^2)
cos(x0) = (-b)/C
sin(x0) = a/C
How would one find x0?
As I understand it I must find out which kvadrant the point P = (a,-b) is in.
Given that, I can find a triangle.
ie.
P = (3, -4) is in the 4th kvadrant and gives:
C = sqrt(3^2 + (-4)^2) = 5
cos(x0) = (-4)/5
sin(x0) = 3/5
I'm pretty much lost on how I can use the knowledge of which kvadrant P is in, to find x0.