What is wrong?



Hello,
I tried to replase a in eq11 by the expression on the right side of "=".
[a=-(w2-w1)/(2*d*p-2*d*m-d^2)]
Bit instead of doing that, s is simply replaced by a.
How can I make maxima do what I want?

Thanks in advance


(%i1) eq10: w1-w2=-a*(p-d-m)^2 + a*(p-m)^2;


(%i2) eq11: w3-w1=-s*(p+d-m)^2 + s*(p-m)^2;


(%i3) linsolve(eq10,[a]);


(%i4) eq11: subst(a,s,eq11);