Question: How to get a list without retyping the results manually?


I use the following commands to generate some complex numbers:

equ := 2+(s+1)*exp(tau*s) = 0;

a := [0, .8, 2*Pi/(3*sqrt(3)), 4*Pi/(3*sqrt(3))];

for i to nops(a) do

   evalf(solve(subs(tau = a[i], equ), s));

end do

then maple output four complex numbers. I want to get a list which contains the four output complex numbers,how can I do that without retyping the output numbers manually?

By the way, if I want to add a number to a list,namely, add 4 in [1,3,5], how can I do that?

Thank you.

Please Wait...