Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get results of solve



var("a b") solve([a+b==5,a-b==1],[a, b])

[[a == 3, b == 2]]

Is there a neat way to actually get a and b assigned to 3 and 2,

obviously this is a simplified equation.

Also sometimes one gets a == 3 and other times a = 3 why is that?

It would be good if the 'neat way' would work for both cases.

Thanks, Rob.