Question: Hi-Happy New Year,,,a little late to say.how to understand this:the same results,

p1:=4*y^2+12*y-4*x*y-6*x+x^2+8

a is "coeffs(p1)"

b is "coeffs(coeffs(p1, {x, y}))"

c is "coeffs(p1, [x, y])"

d is "coeffs(p1, x)"

e is "coeffs(p1, x, y)"

the results of a,b,c are the same

8, -6, 12, 4, 1, -4

and the results of d,e are the same

4*y^2+12*y+8, -4*y-6, 1

question 2:

I'd like to get the both resuls of "coeffs(p1, x)" and "coeffs(p1, x)" at the same time,

what's the simplest way?

question3:how to name the polynomial to add options in the parenthesis?

sort(x^2-4*x*y+4*y^2-6*x+12*y+8)

 

 

Please Wait...