Hello everyone,
I must declare "assume" twice. First time, I get an unevalued form.
After the second assume, I get the fine result :
I use Sage 5.7
sage: forget () ; var('n')
n
sage: assume ((x<1) and (x>0)) ; limit (n*x^n*(1-x), n=oo) ; limit
(n*x^n*(1-x), n=oo)
-(x - 1)*limit(x^n*n, n, +Infinity) # unevalued
-(x - 1)*limit(x^n*n, n, +Infinity)
sage: assume ((x<1) and (x>0)) ; limit (n*x^n*(1-x), n=oo) ; limit
(n*x^n*(1-x), n=oo)
0 # the right value
0
Must I declare it in the trac.sagemath.org database ?
Have a nice day !
F.
--
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 http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.