Since f(x)=x2+4x−5, for the matrix A the constant term becomes −5I, sof(A)=A2+4A−5I.Compute A2:A2=[142−3][142−3]=[9−8−417].Also,4A=[4168−12],5I=[5005].Therefore,f(A)=[9−8−417]+[4168−12]−[5005]=[8840].Thus the correct option is [8840].