split result of linsolve



On 4/9/12 9:57 PM, Ruslan Mullakhmetov wrote:
> Hi!
>
>    I solve some linear equation and wish to get result explicitly for further work. But linsolve returns list of equalities.  illustrate it.
>
> s:linsolve([a*x+b=0],[x]);
> s[1];
>
> x=-b/a
>
> how can i extract "-b/a" from this equality? 
>
>
rhs(s[1])

Ray