Thanks! Is there faster way how to tell Sage that we want to divide
polynomials than these commands? I mean, if the third line can be
omitted.

p=x^2+x+5
q=x-4
R.<x>=QQ[]
R(p).quo_rem(q)

Robert.

On 17 pro, 18:18, Pablo Angulo <[email protected]> wrote:
> And also:
>
> sage: p//q
> t - 5/6
>
> sage: p%q
> -11/18

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to