Are these both the right answer for the integral?



What I have discovered is that the first thing to do is set display2d to 
false, which messes up a session if a program changes it to true.  There are 
a lot a possible scenario's to consider.


-----Original Message----- 
From: Richard Hennessy
Sent: Saturday, January 15, 2011 6:08 PM
To: Michel Talon ; maxima at math.utexas.edu
Subject: Re: [Maxima] Are these both the right answer for the integral?

Yes, this way works but I would be happier if it was a feature of Maxima
that makes this possible, not my code.  That way I would not have to keep up
with changes to Maxima's way of returning output to the server.  Sometimes
the output is a error message, sometimes a question, sometimes the output is
too large for the buffer.  It is a lot of work, which if I were to do it,
would be based on trial and error.  The way to connect to a Maxima server
should be a feature of Maxima with documentation etc . . .

Rich

-----Original Message----- 
From: Richard Hennessy
Sent: Friday, January 14, 2011 8:07 PM
To: Michel Talon ; maxima at math.utexas.edu
Subject: Re: [Maxima] Are these both the right answer for the integral?

I have had no luck with this so far, so I will try it your way.

Thanks,

Rich


-----Original Message----- 
From: Michel Talon
Sent: Friday, January 14, 2011 5:18 PM
To: maxima at math.utexas.edu
Subject: Re: [Maxima] Are these both the right answer for the integral?

Richard Hennessy wrote:

> Hi List,

Hi, Richard

sorry to hijack this thread but sometimes ago you asked how to interact
with maxima programmatically through a socket. If you don't have the
solution i have found one today, after having tried "maxima -s" which
doesn't work (namely this redirects output to the socket but leaves
input on standard input). The thing which works is:

First you open a listening socket, for example with netcat
nc -l 8888
Then you connect maxima to the socket in the following way:

maxima -r ":lisp (setup-client 8888)"

Here you execute the function setup-client defined in server.lisp which
connects to port 8888.

Then everything is redirected to the socket. You can easily replace netcat
by a program which parses maxima output, or feeds maxima input the way you
want.

-- 
Michel Talon

_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima

_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima