system of equations



Stavros Macrakis pisze:
> On Wed, Aug 13, 2008 at 12:58 PM, Adam Majewski <adammaj1 at o2.pl> wrote:
>> I have removed one error in my equation , upgraded maxima to last version,
>> used  topoly_solver and here it is...
>> load(topoly_solver)$
>> eq1:z=z^4+2*c*z^2+c^2+c$
>> eq2:(4*z^3+4*c*z)=1$
>> to_poly_solve([eq1, eq2], [z, c]);
>> (%o28) [[z=1/2,c=1/4],[z=-1/2,c=-3/4]]
> 
> Though it does no harm (and is a great package for when it is needed),
> you don't need to_poly_solve for these equations, which with the
> removal of the 'abs' are purely algebraic; solve or algsys will do
> fine.
> 
>                -s
Yes, but I can use it in case abs()=1


eq1:z=z^4+2*c*z^2+c^2+c$
eq2:abs(4*z^3+4*c*z)=1$
to_poly_solve([eq1, eq2], [z, c]);
(%o10) 
[[z=1/2,c=1/4],[z=-%i/2,c=-(2*%i-1)/4],[z=%i/2,c=-(-2*%i-1)/4],[z=-1/2,c=-3/4],[z=-(sqrt(2)+1)/2,c=-5/4],[z=(sqrt(2)-1)/2,c=-5/4]]


(%i11) algsys([eq1, eq2], [c,z]);
(%o11) []
(%i12)


Adam