Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?

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?

TypeError: Computation failed since Maxima requested additional constraints

I have the following code: code:

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

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?

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: message:

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

zero?