Comment #2 on issue 2816 by bitsjama...@gmail.com: Regarding integration of k*(x**0)
http://code.google.com/p/sympy/issues/detail?id=2816

Sir ,
     I gave in the command integrate (k*(x**0))
Traceback (most recent call last):
  File "<pyshell#9>", line 1, in <module>
    integrate (2*(x**0))
File "C:\Python27\lib\site-packages\sympy\utilities\decorator.py", line 24, in threaded_func
    return func(expr, *args, **kwargs)
File "C:\Python27\lib\site-packages\sympy\integrals\integrals.py", line 844, in integrate
    integral = Integral(*args, **kwargs)
File "C:\Python27\lib\site-packages\sympy\integrals\integrals.py", line 110, in __new__ raise ValueError("specify integration variables to integrate %s" % function)
ValueError: specify integration variables to integrate 2


i didnt understand for general function like
integrate (x**2) we need not write it as integrate (x**2,x) and if we write it as integrate (x**2) it gives out the answer

but for a function like integrate (k*(x**0),x) why do we neeed to mention x?



--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to