System Of Trigonometric Equations

AI Thread Summary
The discussion revolves around solving a system of trigonometric equations involving sine and cosine functions. The equations presented are a*sin(x) = b*sin(th) + c*sin(y) and d + a*cos(x) = b*cos(th) + c*cos(y). To approach the solution, participants suggest rearranging the equations by moving sine and cosine terms to one side and constants to the other. A key step involves squaring both equations and adding them, leading to a new equation that relates the constants and the cosine of the difference between x and y. This results in a relationship where y can be expressed as y = x + k, allowing the original equations to be transformed into simultaneous equations in terms of cos(x) and sin(x). This method provides a pathway to find the values of x and y when the other variables are constants.
nradam
Messages
9
Reaction score
0
Code:
a*sin(x)=b*sin(th)+c*sin(y)
d+a*cos(x)=b*cos(th)+c*cos(y)

Find x and y if all others are constants. I don't get how to solve this system of trigonometric equations in matlab. Please help me out friends.

Thanks in advance.
 
Physics news on Phys.org
Put the sin x and cos x terms on one side and the rest on the other side.
Square both equations and add them.

You get something like

a^2 + c^2 + 2ac cos(x-y) = b^2 + d^2 - 2bd cos th

Solve that for x-y, which gives you y = x + k for some value of k.

Then you can turn the original equations into simultaneous equations in cos x and sin x
 
Back
Top