On Apr 22, 2012, at 13:23 , Michael Beeson wrote:

> Sage version 4.6.1  (I know it's old, new one is downloading now, but I 
> don't think this is a version problem.)
> Given:  polynomial f in x  with some letters for the coefficients,  and 
> polynomial psi  of lower degree in x with constant coefficients.
> Wanted:  remainder of f  on division by psi  as polynomials in x,  with 
> coefficients involving the letters in f.  
> Problem:  Sage treats f as a polynomial in many variables and I can't 
> convince it to treat it as a polynomial in x only and perform the division 
> (or pseudo division).

You might try starting with this (unverified):

R.<N,p,r,m,l> = PolynomialRing(QQ)
K=R.fraction_field()
S.<x>=PolynomialRing(K)

HTH

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------


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

Reply via email to