Try
globalsolve:true
and the results of linsolve will be set.
RJF
Adam Brown wrote:
>
> Hi,
>
> I'm learning my way around Maxima.
>
> I would like to assign the results of the solution of a simultaneous equation
> to variables for later use. Is there a more elegant way than this:
> r:linsolve( [B2*du + A2* dv = dx, c2*du + D2 * dv = 0], [du,dv] );
> du:rhs( first( r ) );
> dv:rhs( last( r ) );
>
> thanks,
>
> Adam
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima