The function linsolve does not check that the equation is linear. Try using solve
instead of linsolve.
I use maxima 5.22.1
My commands are successively:
Eq5 : -c3*x006+c5*(x001)**2-c4*x001/3+c2*x001/3+x001 = 0;
linsolve([Eq5], [x001]);
The unexpected result is :
[x001=-(3*c3*x006)/(c4-c2-3)]
The function linsolve does not check that the equation is linear. Try using solve
instead of linsolve.
The function linsolve is documented to solve a set of linear equations. I think, the function solve gives the expected solutions as reported in the last posting:
(%i5) Eq5 : -c3*x006+c5*(x001)**2-c4*x001/3+c2*x001/3+x001 = 0$
(%i6) solve([Eq5],[x001]);
(%o6) [x001 = -(sqrt(36*c3*c5*x006+c4^2+(-2*c2-6)*c4+c2^2+6*c2+9)-c4+c2+3)
/(6*c5),
x001 = (sqrt(36*c3*c5*x006+c4^2+(-2*c2-6)*c4+c2^2+6*c2+9)+c4-c2-3)
/(6*c5)]
Setting the status to pending and the resolution to invalid.
Dieter Kaiser
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).