Case - I: If a<0, then maximum value of f(x) is at x=0 ∴f(0)=−5⇒a2+2a−3=0 ⇒a=−3 or 1⇒a=−3 Case - II : If a>2, then maximum value of f(x) is at x=1∴f(1)=−5⇒a2+a−2=0 ⇒a=−2 or 1which is not possible. Case −111: If 0<a<2, then maximum value is at x=