If the factors are complex conjugates then it is already in partial fraction form.
On Thursday, August 1, 2013 1:50:32 PM UTC+8, Rakhi Warriar wrote: > > I have the following function: > > f(x) = 1 > ---------------- > x^2 + 4*x + 13 > > I need to find its partial fraction expansion. As the factors are complex > conjugates, I am not able to do using partial_fraction(). How can I find > this? > > Commands: > x = CC['x'].0 > f = 1/(x^2 + 4*x+ 13) > f.partial_fraction() > this gives error: > Traceback (click to the left of this block for traceback) > ... > AttributeError: 'FractionFieldElement_1poly_field' object has no > attribute 'partial_fraction' > > System used: Ubuntu 12.04, 32 bit, Intel Core i5 procesor > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
