The calculus package fails on all of the following general forms. I
used sagenb.com and a clean worksheet.
{{{
diff(c)
///
1
}}}
{{{
diff(c*f(x))
///
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/server2/sage_notebook/worksheets/timothycalculus______/code/2.py",
line 4, in <module>
exec compile(ur'diff(c*f(x))' + '\n', '', 'single')
File "/home/server2/sage_notebook/worksheets/timothycalculus______/",
line 1, in <module>
File "/sage/local/lib/python2.5/site-packages/sage/calculus/functional.py",
line 45, in derivative
return f.derivative(*args, **kwds)
File "/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 1062, in derivative
"expression containing more than one variable"
ValueError: must supply an explicit variable for an expression
containing more than one variable
}}}
{{{
diff(f(x)+g(x))
///
2
}}}
{{{
diff(f(x)-g(x))
///
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/server2/sage_notebook/worksheets/timothycalculus______/code/4.py",
line 4, in <module>
exec compile(ur'diff(f(x)-g(x))' + '\n', '', 'single')
File "/home/server2/sage_notebook/worksheets/timothycalculus______/",
line 1, in <module>
File "/sage/local/lib/python2.5/site-packages/sage/calculus/functional.py",
line 45, in derivative
return f.derivative(*args, **kwds)
File "/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 1062, in derivative
"expression containing more than one variable"
ValueError: must supply an explicit variable for an expression
containing more than one variable
}}}
{{{
diff(f(x)*g(x))
///
2*x
}}}
{{{
diff(f(x)/g(x))
///
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/server2/sage_notebook/worksheets/timothycalculus______/code/6.py",
line 4, in <module>
exec compile(ur'diff(f(x)/g(x))' + '\n', '', 'single')
File "/home/server2/sage_notebook/worksheets/timothycalculus______/",
line 1, in <module>
File "/sage/local/lib/python2.5/site-packages/sage/calculus/functional.py",
line 45, in derivative
return f.derivative(*args, **kwds)
File "/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 1062, in derivative
"expression containing more than one variable"
ValueError: must supply an explicit variable for an expression
containing more than one variable
}}}
{{{
diff(f(g(x)))
///
1
}}}
{{{
diff(x^n)
///
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/server2/sage_notebook/worksheets/timothycalculus______/code/8.py",
line 4, in <module>
exec compile(ur'diff(x**n)' + '\n', '', 'single')
File "/home/server2/sage_notebook/worksheets/timothycalculus______/",
line 1, in <module>
File "/sage/local/lib/python2.5/site-packages/sage/calculus/functional.py",
line 45, in derivative
return f.derivative(*args, **kwds)
File "/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 1062, in derivative
"expression containing more than one variable"
ValueError: must supply an explicit variable for an expression
containing more than one variable
}}}
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---