Shouldn't this be an easy integral to compute?

sage: y = var('y')
sage: t = var('t')
sage: integrate(y*e^(-y),y,0,t)

Huge amount of error messages deleted, followed by:

ValueError: Computation failed since Maxima requested additional
constraints; using the 'assume' command before evaluation *may* help
(example of legal syntax is 'assume(t>0)', see `assume?` for more details)
Is t positive, negative or zero?

Then I can fix it like this.

sage: assume(t>0)
sage: integrate(y*e^(-y),y,0,t)
-(t + 1)*e^(-t) + 1

However the integral is an analytic function, and exists even if t is
negative or complex.

Thanks, Stephen

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to