Changeset 7719:d6eb85eef8c7


Ignore:
Timestamp:
12/11/07 12:57:24 (5 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

Trac #1460 -- fix some doctest issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/calculus/calculus.py

    r7718 r7719  
    28582858            sage: f.subs_expr(x^2 + y^2 == t) 
    28592859            (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 
    28612861            'cos(x)+sin(y)+x^2+y^2+t' 
     2862            sage: maxima.quit() 
    28622863            sage: maxima.eval('cos(x) + sin(y) + x^2 + y^2 + t, x^2 + y^2 = t') 
    28632864            'sin(y)+y^2+cos(x)+x^2+t' 
    28642865 
    28652866        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 
    28672868            2 t + Cos[x] + Sin[y] 
    28682869        """ 
Note: See TracChangeset for help on using the changeset viewer.