First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 12 years ago

achrzesz gravatar image
sage: R.<x> = QQ[]
sage: f = R('x^3 - x^2 + x -1') 
sage: f.quo_rem(x-2)
(x^2 + x + 3, 5)