Question: Real part of an answer

Hello guys

I have a question:

I have an equation like below. Always it has different order for example :

T1:=q3*(r^6)+q2*(r^4)+q1*(r^2)+q0:
solve(T1=0,r):
and sometimes:

T2:=q5*(r^4)+q6*(r^2)+q7:
solve(T2=0,r):
q0,q1,q2,q3,q4,q5,q6 and q7 are constants.

We know that for T1 It has two real answer and for T2 we have any real answer.

How can I specify generally the real answers for all of them?

I want to use these real answer for another equation.

Thanks

Please Wait...