MATLAB: Not getting the right root when using solve

imaginaryrootsolve

The answer I'm getting is – 775.94006610198792379207269683591 + 890.01055416454391218342305188902*i My answer should be around 515 any suggestions
here's how I was solving, all variables are given except T2
%Set up Variable T2 = final Temperature for Isentropic process
syms T2
%s2 = s(T) of equation 9
%Utilize Matlab solve for Variable T2
Tfinal=solve(s2-s0 == a.*log(T2 ./T0)+b.*(T2 -T0)+.5*c.*(T2.^2-T0^2)+d.*(T2.^3-T0^3)/3+.25*e.*(T2.^4-T0^4),T2)

Best Answer

Try
syms T2 real