The following wxmaxima session:
(%i7) InMoney: 55*long+1.06*short=5;
(%o7) 1.06*short+55*long=5
(%i8) outMoney: 48.5*long+1.06*short=0;
(%o8) 1.06*short+48.5*long=0
(%i9) linsolve([InMoney,OutMoney],[long,short]);
rat: replaced 1.06 by 53/50 = 1.06
(%o9) []
give the wrong answeer.
The above equation (with long substituted for A and short substituted
for B), is from page 1 of:
http://simonbenninga.com/wiener/MiER64.pdf
where the solution is shown as:
long = 0.769231
short = -35.1959
Why doesn't it solve as expected?
-regards,
Larry