Ask Your Question

ck's profile - activity

2020-09-10 00:31:06 +0200 received badge  Famous Question (source)
2014-06-24 19:22:28 +0200 received badge  Notable Question (source)
2013-09-01 13:11:13 +0200 received badge  Popular Question (source)
2011-09-23 08:25:05 +0200 received badge  Supporter (source)
2011-09-23 08:24:55 +0200 marked best answer TypeError: Computation failed since Maxima requested additional constraints

This is a typical error message from Sage via Maxima.

But maybe I need an update from you. I get

sage: N, n, f  = var('N, n, f')
sage:  assume(N>0)
sage:  sum(binomial(N, n)*f^n*(1-f)^(N-n), n, (N+1)/2, N)
sum((-f + 1)^(N - n)*f^n*binomial(N, n), n, 1/2*N + 1/2, N)
2011-09-23 08:24:55 +0200 received badge  Scholar (source)
2011-09-23 08:24:51 +0200 commented answer TypeError: Computation failed since Maxima requested additional constraints

For some reason, it works now for me as well. (Maybe I had some inconsistent variable definitions I did not flush out or something). Thanks for checking.

2011-09-22 14:57:01 +0200 received badge  Editor (source)
2011-09-22 14:56:11 +0200 asked a question TypeError: Computation failed since Maxima requested additional constraints

I have the following code:

 N, n, f  = var('N, n, f')
 assume(N>0)
 sum(binomial(N, n)*f^n*(1-f)^(N-n), n, (N+1)/2, N)

It gives me the following error message:

 TypeError: Computation failed since Maxima requested additional constraints (try the command  'assume(N+1>0)' before integral or limit evaluation, for example): Is  N+1  positive, negative, or zero?