![]() | 1 | initial version |
Yes it's possible like this:
sage: var('a,b,c,d,e,f,g,h,i,j,k,l,x,y,p,q,r,s,t,u,v,A,B,C,D,E,F,G,H,T,K,L,M,N')
sage: sols = solve([A - E, A*E - B, B*E - C, C*E - D - 10, D*E + 2], A,B,C,D,E, solution_dict=true)
sage: [{C: sol[C]} for sol in sols]
[{C: 5.126764621146644},
{C: 0.4723780710666982 + 5.643167572788117*I},
{C: 0.4723780710666982 - 5.643167572788117*I},
{C: -6.079524680073126},
{C: 0.008003843719970937}]
Or as a plain list:
sage: [sol[C] for sol in sols]
[5.126764621146644,
0.4723780710666982 + 5.643167572788117*I,
0.4723780710666982 - 5.643167572788117*I,
-6.079524680073126,
0.008003843719970937]