14.11.1.2 Some typical input

We solve an equation and a system of two equations:

sage: eqn = mathematica('3x + 5 == 14')
sage: eqn
5 + 3*x == 14
sage: eqn.Solve('x')
{{x -> 3}}
sage: sys = mathematica('{x^2 - 3y == 3, 2x - y == 1}')
sage: print sys
           2
         {x  - 3 y == 3, 2 x - y == 1}
sage: sys.Solve('{x, y}')
{{y -> -1, x -> 0}, {y -> 11, x -> 6}}

See About this document... for information on suggesting changes.