simultaneous equation

Dear Sir:

I try to solve a set of simultaneous equations.
But, it is not easy to get a solution by using
MAPLE package.

restart;
eq1:=P-2*P*cos(w*t[2])+(P+1)*cos(w*t[3])=0;
eq2:=-2*P*sin(w*t[2])+(P+1)*sin(w*t[3])=0;
_EnvAllSolutions:=true: _EnvExplicit:=true:
solve({eq1,eq2},{t[2],t[3]});

But, MAPLE does not give me what I want.
I expect that the solution should be in
the following way:

t[2]=(1/w)*arccos((4*P^2-2*P-1)/(4*P^2));
t[3]=(1/w)*arccos((2*P^2-2*P-1)/(2*P^2+2*P));

where w and P are positive constants.
Could you help me to get the solution?

Thanks

Comments

simultaneous trig equations

What makes you think that Maple has not solved the simultaneous equations correctly?

J. Tarr

JacquesC's picture

assumptions and form

It helps to state all you know, in other words,
assume(P>0,w>0).

The results from Maple are correct, just in a different form than you expect. It is using the 2-argument form of arctan, which has better branch behaviour than the 1-argument form. It also reports all solutions, which involve the fact that sin/cos are 2*Pi periodic.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}