| 1 | initial version |
You can do:
sage: p(x+2)
5*x^2 + 17*x + 15
sage: p(x+2) in R
True
Actually, the following works too:
sage: p.subs(x=x+2)
5*x^2 + 17*x + 15
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.