14.11.1.1 Syntax

Now make 1 and add it to itself. The result is a Mathematica object.
sage: m = mathematica
sage: a = m(1) + m(1); a
2
sage: a.parent()
Mathematica
sage: m('1+1')
2
sage: m(3)**m(50)
717897987691852588770249

The following is equivalent to Plus[2, 3] in Mathematica:

sage: m = mathematica
sage: m(2).Plus(m(3))
5

We can also compute $ 7(2+3)$ .

sage: m(7).Times(m(2).Plus(m(3)))
35
sage: m('7(2+3)')
35

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