[Maxima] FW: solve "abs(x)=2" and question in "print" function

Richard Hennessy rvh2007 at comcast.net
Tue Oct 28 13:09:34 CDT 2008

```Did you get this.  Not sure if my email is working.

Resending.

sprint(concat("Hi There,", ascii(10),"My Name is Maxima.", ascii(10), "How are you today"))\$

I forgot the s before sprint,

sorry.

----- Original Message -----
From: ¶À ¸Î¶¯
Sent: Tuesday, October 28, 2008 6:25 AM
Subject: Re: [Maxima] solve "abs(x)=2" and question in "print" function

Message: 2
> Date: Mon, 27 Oct 2008 18:29:27 +0100
> Subject: Re: [Maxima] question in solve 'abs(x)=2'
> To: maxima at math.utexas.edu
> Message-ID: <ge4tpm\$c71\$1 at ger.gmane.org>
> Content-Type: text/plain; charset=Big5
>
> Hi,
>
> Solve is for algebraic equations,
> your equation is not algebraic ( abs ).
>
> This is not an proper answer to your question, but gives graphical solution:
>
> z:x+y*%i;
> implicit_plot (abs(z) = 2, [x, -4, 4], [y, -4, 4]);
>
>
> Regards
>
========================================
thanks your solution. but this question is a algebraic equation.
|x|=2
it solution ! is x=2, -2
---------------------------------------------------------
the next solution is from Professor  Barton Willis (willisb at unk.edu)

The undocumented function to_poly_solve can solve this equation.
To use to_poly_solve, you'll need to load the file 'topoly_solver.'
An example:

(%i5) to_poly_solve(abs(x)=2,x);
(%o5) [[x=2],[x=-2]]

If you want to find all complex solutions, to_poly_solve doesn't work:

(%i6) declare(x,complex)\$

(%i7) to_poly_solve(abs(x)=2,x);
(%o7) [[x=2],[x=-2]]

=======================================
>
> >
> > 2. the print function that has 'new line ' (i.e skip line ) function ??
> > as follow : I want to give a question and it have 2 sub items
> >
> > A:[1,2], B:[3,4],C:[8,7],solve
> > (1) the mid p oint of A,,B
> > (2) th! e gravity point of the triangle ABC
> >
> > I usual ly typing :
> > print ('A:[1,2], B:[3,4],C:[8,7],solve (1) the mid p oint of A,,B (2) the gravity point of the triangle ABC');

=================Question in print==================
so, the visual effects are not good-looking
Does the 'print ' function include 'skip' function'?
==============================================

--------------------------------------------------------------------------------
ÀH¨­ªº Windows Live Messenger ©M Hotmail¡A¤£­­®É¦a´x´¤¸ê°TºÉ¦b«ü¶¡¡X Windows Live for Mobile

--------------------------------------------------------------------------------

_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20081028/26f2988b/attachment-0001.htm
```