Changeset 7719:d6eb85eef8c7
- Timestamp:
- 12/11/07 12:57:24 (5 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
sage/calculus/calculus.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sage/calculus/calculus.py
r7718 r7719 2858 2858 sage: f.subs_expr(x^2 + y^2 == t) 2859 2859 (x, y, t) |--> sin(y) + y^2 + cos(x) + x^2 + t 2860 sage: maple.eval('subs(x^2 + y^2 = t, cos(x) + sin(y) + x^2 + y^2 + t)') 2860 sage: maple.eval('subs(x^2 + y^2 = t, cos(x) + sin(y) + x^2 + y^2 + t)') # optional requires maple 2861 2861 'cos(x)+sin(y)+x^2+y^2+t' 2862 sage: maxima.quit() 2862 2863 sage: maxima.eval('cos(x) + sin(y) + x^2 + y^2 + t, x^2 + y^2 = t') 2863 2864 'sin(y)+y^2+cos(x)+x^2+t' 2864 2865 2865 2866 Actually Mathematica does something that makes more sense: 2866 sage: mathematica.eval('Cos[x] + Sin[y] + x^2 + y^2 + t /. x^2 + y^2 -> t') 2867 sage: mathematica.eval('Cos[x] + Sin[y] + x^2 + y^2 + t /. x^2 + y^2 -> t') # optional -- requires mathematica 2867 2868 2 t + Cos[x] + Sin[y] 2868 2869 """
Note: See TracChangeset
for help on using the changeset viewer.
