Ask Your Question

dz's profile - activity

2022-07-04 10:21:14 +0200 commented answer How to install SageMath on CentOS?

Hi, I'm a Centos stream 8 user and I wish to have an rpm package too. A centrally maintained package will save time for

2022-07-04 10:15:06 +0200 commented question the `assume` function not working?

Oh...thanks a lot! I got another error "TypeError: self (=-l + 1/2) must be a relational expression" if I add this line

2022-07-04 10:09:24 +0200 commented question the `assume` function not working?

Oh...thanks a lot! I got another error "TypeError: self (=-l + 1/2) must be a relational expression" if I add this line

2022-07-04 10:03:41 +0200 marked best answer the `assume` function not working?

Hi, I'm trying to run this math in SagemathCell,

x,l,sigma=var("x,l,sigma") 
f(x) = (1+x*x/(sigma*sigma))**(l-1/2) 
unicode_art(f)

assume(-(2*l-1)/2>0) 
assume(sigma>0) 
g= integrate(f, x, -infinity, infinity)
unicode_art(g)

but I got the error complaining

ValueError: Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation may help (example of legal syntax is 'assume(-(2l-1)/2>0)', see assume? for more details) Is -(2l-1)/2 an integer?

As you can see from my script that I already have assume(-(2*l-1)/2>0). How to fix?

Thanks!

2022-07-04 10:03:41 +0200 received badge  Scholar (source)
2022-07-04 08:08:34 +0200 received badge  Student (source)
2022-07-04 08:06:52 +0200 asked a question the `assume` function not working?

the `assume` function not working? Hi, I'm trying to run this math in SagemathCell, x,l,sigma=var("x,l,sigma") f(x) =