Ask Your Question

ck's profile - activity

2020-09-09 17:31:06 -0600 received badge  Famous Question (source)
2014-06-24 12:22:28 -0600 received badge  Notable Question (source)
2013-09-01 06:11:13 -0600 received badge  Popular Question (source)
2011-09-23 01:25:05 -0600 received badge  Supporter (source)
2011-09-23 01:24:55 -0600 received badge  Scholar (source)
2011-09-23 01:24:55 -0600 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 01:24:51 -0600 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 07:57:01 -0600 received badge  Editor (source)
2011-09-22 07:56:11 -0600 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?