Dear Eyo,
We use several mailing lists. Please ask these kind of questions on
sage-support. Now the question is forwarded and continue the discussion
there.
Best
Vincent
On 25/06/2017 16:51, baliza Eyo wrote:
Dear Sage developers,
Here is a quick question about the output of the .coefficient() for an SR
object.
having set up the variables as follows
sage: var('x,y')
(x, y)
Shouldn't the output of the following commands be the same:
sage: ((x^2 - 2)^2 - y^2).coefficient(x^4)
0
sage: expand(((x^2 - 2)^2 - y^2)).coefficient(x^4)
1
sage: ((x^2 - 2)^2 - y^2).diff(x,4).subs(x==0)/factorial(4)
1
The last two outputs are correct but why is 0 the intended output for
((x^2 - 2)^2 - y^2).coefficient(x^4) ?
Thanks in advance,
Best regards,
Eyo,
--
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.