Question about solvequad



Andrew Yeltsin wrote:
> Hallo!
> 
> I'm trying to build a "step-by-step-output" version of some Maxima
> functions

> I tried a more complex equation
> solve(sin(x)^2-(a+1/2)*sin(x)+a*1/2=0,x);
> 
> There was a variable substition somewhere, and in solvequad I got:
> a 2
> b (G21359 1 -2 0 -1)
> c (G21359 1 1)
> 
> And in TeX function I've got such errors
> 
> Maxima encountered a Lisp error:
> CAR: #:G21359 is not a list

> Maybe it is a silly question, but I'm not a lisp exrert.
> What is G21359 and how to make the output work with it?

#:G21359 is an uninterned symbol, which basically means it doesn't
belong to any Lisp package.  For our purposes, it behaves like any other
symbol.

To make this work, I think you'll need to do a lot of work to understand
what solve is trying to do if you want to be able to print out
intermediate steps.

Ray