Question: How do we truncate a polynomial in Maple, that is, obtain only the terms of degree <= n?

How do we truncate a polynomial in Maple, that is, obtain only the terms of degree <= n?

For example, if 

P(x)=x^2+2*x^3+x^6

then the truncation [P(x)]4 is

P(x)=x^2+2*x^3

and the truncation [P(x)]is

P(x)=x^2

Please Wait...