Hi requal
I'm not sure what you mean by "nearest minute". Maybe it means nearest degree?
Let :
p cos x - q sin x = R cos (x+a)
Then, expand RHS and compare it with LHS to find cos(a) and sin(a). Hence, find a
Hi requal
p cos x - q sin x = R cos (x+a)
p cos x - q sin x = R cos(x) cos(a) - R sin(x) sin(a)
Comparing coefficient :
p cos x = R cos(x) cos(a)
p = R cos(a) .........................(1)
q sin x = R sin(x) sin(a)
q = R sin(a)...........................(2)
Square (1) and (2) and add them :
p^2 = R^2 [cos(a)]^2
q^2 = R^2 [sin(a)]^2
--------------------------- +
p^2 + q^2 = R^2