This is a plotting cheatsheet for SageMath open-source mathematics software system.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## System specifics | |
| *.DS_Store | |
| ## Core latex/pdflatex auxiliary files: | |
| *.aux | |
| *.lof | |
| *.log | |
| *.lot | |
| *.fls | |
| *.out |
sage: z = SR.var('z', domain='complex')
sage: k = SR.var('k', domain='integer')sage: giac('assume(k, integer)') # for Giac PExpect interfacesage: integrate(exp(-x)*sinh(sqrt(x)), x, 0, oo, algorithm='maxima').simplify() # ok
1/4*(sqrt(pi)*(erf(1) - 1) + sqrt(pi) + 2*e^(-1) - 2)*e^(1/4) - 1/4*(sqrt(pi)*(erf(1) - 1) - sqrt(pi) + 2*e^(-1) - 2)*e^(1/4)
sage: _.canonicalize_radical()
1/2*sqrt(pi)*e^(1/4)
sage: integrate(exp(-x)*sinh(sqrt(x)), x, 0, oo, algorithm='giac').simplify() # ok, fast
1/2*sqrt(pi)*e^(1/4)
sage: integrate(exp(-x)*sinh(sqrt(x)), x, 0, oo, algorithm='sympy') # ok, fast, reduced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| r"""Convert Python dictionaries into XML. | |
| AUTHORS: | |
| - Marcelo Forets | |
| EXAMPLES: | |
| python: d = list() | |
| python: d.append({'id':1, 'text':'foo'}) |
NewerOlder