Ask Your Question

Stefán Ingi's profile - activity

2016-09-19 22:25:30 +0200 received badge  Famous Question (source)
2014-06-24 07:58:09 +0200 received badge  Notable Question (source)
2014-01-22 11:17:56 +0200 received badge  Student (source)
2013-06-05 06:17:57 +0200 received badge  Popular Question (source)
2012-07-24 07:20:39 +0200 received badge  Scholar (source)
2012-07-24 07:20:39 +0200 marked best answer calculating residue with maxima_methods
sage: from sympy import Symbol, residue
sage:  x = Symbol("x")
sage:  t = Symbol("t")
sage: residue(x/((4*x - 1)*(t^2 - t + x)),t,(1-sqrt(1-4*x))/2)
-x/((-4*x + 1)**(1/2)*(4*x - 1))
2012-07-24 07:18:18 +0200 commented answer calculating residue with maxima_methods

I was reexamining my old code and found the culprit. When it worked before I had run "assume(x<1/8)". That makes maxima give the same answer as sympy. Sorry for the trouble, but at least I learned something about sympy.

2012-07-07 08:34:55 +0200 asked a question calculating residue with maxima_methods

The following used to work around six months ago on sagenb.org:

var('x')
var('t')
( x/((4*x - 1)*(t^2 - t + x)) ).maxima_methods().residue(t,(1-sqrt(1-4*x))/2)

but now it returns zero which is incorrect. Can anybody help me get the correct answer again?