look what the calculator gave me!
I put in:
\(f(x)=x^2+{x\over\pi}-e^x\)
and it gave me:
\(f(x)=x^2+{x\over\pi}-e^x\Rightarrow \begin{bmatrix} x=-(((\sqrt{(4*\pi)*f(x)+(\pi^2)-{((4*e^x)*\pi))+\pi)\over2}} \\ x=((\sqrt{(4*\pi)*f(x)+(\pi^2)-{((4*e^x)*\pi))-\pi)\over2}} \end{bmatrix}\)