Problem with integrate()



>>* On 07/18/2013 12:22 PM, Przemek Klosowski wrote: *
>>>* Recently, Pyotr Ivanishin asked for help and it seems that his troubles
*
* *>>>* result from the following problem with integrate(): *

* *>>>* integrate(x^k,x); *
>>>* Is k + 1 zero or nonzero? **
*>>>* nonzero;*
* *>>>* (%o15) log(x)*
**
* *>>>* (%i16) integrate(x^k,x); *
>>>* Is k + 1 zero or nonzero? *
* *>>>* zero; *
>>>* (%o16) log(x) *

You need to answer: n

(%i1) integrate(x^k,x);
"Is "k+1" zero or nonzero?"n;
(%o1) x^(k+1)/(k+1)

(%i2) integrate(x^k,x);
"Is "k+1" zero or nonzero?"nonzero;
(%o2) log(x)

(%i3) wxbuild_info()$
wxMaxima version: 13.4.0
Maxima version: 5.30.0
Maxima build date: 2013-06-01 21:29:43
Host type: i686-pc-mingw32
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.6.8

best

Aleksas D