Question: how to remove "[ ]" from expression

hello i am trying to remove "[ ]" from an expression so it can be used inside a solve function.

the problem is (eqs) has an "[ ]" outside the expression so it lookslike this "[a = c, a = d, 4*a = e, b = 2*e, b = c + 2*d + 2*f]"

how can i remove [] from this expression?

 

code

eq := a*(K + Mn + 4*O) + b*(H + Cl) = c*(K + Cl) + d*(Mn + 2*Cl) + e*(2*H + O) + 2*f*Cl;
elems := [K, Mn, O, H, Cl];
eqr := collect(expand(rhs(eq)), elems);
eql := collect(expand(lhs(eq)), elems);
eqs := zip(`=`, map2(coeff, eql, elems), map2(coeff, eqr, elems));
solve([eq, eqs, a = 1]);

 

thanks

Please Wait...