Question: symbolic computation after using SOLVE()


I want to use the values of the solutions of

sol := solve({x+y=a, x-y=b}, {x,y});

I would like to be able to continue some symbolic computationg, for example


dernier:= sol[1]/sol[2];


but I get an error message.


How can I take only the values of x (and not the expression x= something) to compute, for example "dernier"?


Thanks in advance,



Please Wait...