On 11/30/2014 04:47 PM, Waldek Hebisch wrote: > Without forcing real expressions we get: > > (4) -> a:=integrate(f,x) > > (4) > +----------+ > +----------+ +---+ | +---+ +-+ > | +---+ (2\|- 1 + 2)sin(x)\|\|- 1 - 1 - 2\|2 cos(x) > \|\|- 1 - 1 log(----------------------------------------------) > cos(x) + 1 > + > +------------+ > +------------+ +---+ | +---+ +-+ > | +---+ (2\|- 1 - 2)sin(x)\|- \|- 1 - 1 - 2\|2 cos(x) > - \|- \|- 1 - 1 log(------------------------------------------------) > cos(x) + 1 > + > +------------+ > +------------+ +---+ | +---+ +-+ > | +---+ (- 2\|- 1 + 2)sin(x)\|- \|- 1 - 1 - 2\|2 cos(x) > \|- \|- 1 - 1 log(--------------------------------------------------) > cos(x) + 1 > + > +----------+ > +----------+ +---+ | +---+ +-+ > | +---+ (- 2\|- 1 - 2)sin(x)\|\|- 1 - 1 - 2\|2 cos(x) > - \|\|- 1 - 1 log(------------------------------------------------) > cos(x) + 1 > / > +-+ > 4\|2 > Type: Union(Expression(Integer),...) > > > The problem is that limit code can not handle complex expressions, > so definite integrals would fail.
Well, I guess, some people would prefer such an expression. Would there be a way to have an option to "integrate" to allow complex coefficients. complexIntegrate also returns e^(%I*x) which might be a bit too much. Ralf -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.
