Question: Is there a way to print a polynomial up to a certain order?

Let's say I have something like


p1:=((a+b+c)*t + (a^2 + b^2)*t^3)*(c^3a^b + a*b)*t^2 + (1/(b^2 + a^3)) + b + 1/c^7)*t^7 = 0;


or something complicated like that.


Would it be possible to print the polynomail up to say order 3?


I want to be able to print


collect(expand(p1),t) up to order 3 and see the resulting coefficients

Please Wait...