I asked this question befor but no one answerd so i think maybe if I know how towrite F maybe I can solve this! yes I read that page but still dont know how to write F bye the way,thank you so much for answering.
On Thu, Apr 4, 2013 at 5:05 PM, John Cremona <[email protected]> wrote: > > > > > > On 4 April 2013 13:27, Neda Dargahi <[email protected]> wrote: > >> >> no, ijust want to know how can I compute the remainder on division of >> the given polynomial f by the order set F using grlex order in sage? thank >> you f= x^*y^2+x^3*y^2-y+1 F=(x*y^2-x , x-y^3) >> >> > > I'm not sure how I was supposed to guess that from the question "How can > I write a polynomial f(x^2-4,x^2-2*x) in sage?" > > Have you read all that the reference manual has to say on multivariable > polynomial rings (see > http://www.sagemath.org/doc/reference/polynomial_rings/polynomial_rings_multivar.html)? > That would seem to be relevant. > > >> On Thu, Apr 4, 2013 at 4:36 PM, John Cremona <[email protected]>wrote: >> >>> Like this? >>> >>> sage: R.<x,y> = QQ[] >>> sage: f = x^2+y^2 # for example >>> sage: f(x^2-4,x^2-2*x) >>> 2*x^4 - 4*x^3 - 4*x^2 + 16 >>> >>> John Cremona >>> >>> On 4 April 2013 12:58, Neda <[email protected]> wrote: >>> > >>> > Hello >>> > How can I write a polynomial f(x^2-4,x^2-2*x) in sage? >>> > thank you >>> > >>> > -- >>> > 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?hl=en. >>> > For more options, visit https://groups.google.com/groups/opt_out. >>> > >>> > >>> >>> -- >>> 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?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> -- >> 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?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
