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.


Reply via email to