Given
f(x)=axt2+3t281+cos2(t)dt\displaystyle {f{{\left({x}\right)}}}={\int_{{a}}^{{x}}}{\frac{{{t}^{{2}}+{3}{t}-{28}}}{{{1}+{{\cos}^{{2}}{\left({t}\right)}}}}}{\left.{d}{t}\right.}


At what value of x\displaystyle {x} does the local max of f(x)\displaystyle {f{{\left({x}\right)}}} occur?
x=\displaystyle {x}=  
At what value of x\displaystyle {x} does the local min of f(x)\displaystyle {f{{\left({x}\right)}}} occur?
x=\displaystyle {x}=