Solution for two unknowns with two equations

  • Context: Undergrad 
  • Thread starter Thread starter zoom1
  • Start date Start date
  • Tags Tags
    Unknowns
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
zoom1
Messages
63
Reaction score
0
lb*cos(qb) - lc*cos(qc) = ld*cos(qd) - la*cos(qa)

lb*sin(qb) - lc*sin(qc) = ld*sin(qd) - la*sin(qa)


Those are the equations I have. I know all the parameters but qb and qc.

How can I solve for qb and qc ?
 
Mathematics news on Phys.org
zoom1 said:
lb*cos(qb) - lc*cos(qc) = ld*cos(qd) - la*cos(qa)

lb*sin(qb) - lc*sin(qc) = ld*sin(qd) - la*sin(qa)


Those are the equations I have. I know all the parameters but qb and qc.

How can I solve for qb and qc ?
This would mean the system is:

B⋅cos x - C⋅cos y = D
B⋅sin x - C⋅sin y = E

?
 
There is always the approach ##\sin(x) = \sqrt{1-\cos^2(x)}##, but there might be a better solution for this particular set of equations.
 
zoki85 said:
This would mean the system is:

B⋅cos x - C⋅cos y = D
B⋅sin x - C⋅sin y = E

?

Yes
 
Transform it into system of algebraic equation with tangent half-angle substitution:
tan(x/2)=u ⇒ sin(x)=2u/(1+u2) , cos(x)=(1-u2)/(1+u2)
tan(y/2)=v ⇒ sin(y)=2v/(1+v2) , cos(y)=(1-v2)/(1+v2).

Unfortunatelly, it seems in general case the system can't be solved exactly,and you'll have to do it with aproximative numerical methods (iterativelly).

*Post edited for removing typos
 
Last edited: