integrate(sin(x), x, 0.5, 5, algorithm='sympy')
Traceback (click to the left of this block for traceback)
...
AttributeError: 'module' object has no attribute 'symplify'
I tried to modified the source code (please see http://ask.sagemath.org/question/2835/error-while-integrate-using-algorithmsympy-bug) but when I typed 'sage -br' in my terminal, there are many mistakes(((
At the end of all I added my own class in my Sage Notebook:
class sf():
def __init__(self, x):
self._x = x
def _sympy_(self):
import sympy
return(sympy.simplify(self._x))
def __repr__(self):
return(str(self._x))
And I used integrate function as follows:
integrate(sin(x), x, sf(0.5), sf(5), algorithm='sympy')
It was helped to me, but all I want is that the bug I found will be fixed.
Thanks.
Sinersly yours, Andrei Shirshov.