[sage-support] Fwd: Problem with an integral

2017-04-08 Thread Andrey Novoseltsev
As reported, var('r') assume(r>0) integrate(r * sqrt( (2*r*cos(x)/sqrt(3))^2 + ( 2/3 + 4*r*sin(x)/3 )^2 ), x) gives -1/12*(2*r*x - r*sin(2*x))*r which is indeed incorrect. Is the root cause known? -- Forwarded message -- Dear Mr Andrey Novoseltsev, I am writing you to repor

[sage-support] Computing discrete logs in polynomial rings modulo another polynomial over non-prime-power

2017-04-08 Thread 'Bill Cox' via sage-support
I want to test finding the discrete log in the circle group over Z/Zm -- discrete logs of g^a mod m, where g is a complex number and m is composite. Can Sage do this for large composite m, say on the order of 2^128 or more, when m is smooth, containing no prime factors larger than say 1 billion

[sage-support] Re: Why factor(6*x+3) doesn't give 3*(2*x+1) in SageCell?

2017-04-08 Thread saad khalid
I am a student and I definitely agree with Chris Seberino here. I don't think it is the job of software (or, rather, it is not good CAS design) to try and teach people mathematics in this way. I think that the CAS should be as convenient and intuitive as possible. As an example, I didn't even k