求导数,f'=(x^2-x+1)'e^x+(x^2-x+1)(e^x)'=(2x-1)e^x+(x^2-x+1)e^x=(x^2+x)e^x
k=f'(1)=2e
所以y-f(1)=f'(1)(x-1)
即y-e=2e(x-1)
整理得到y=2ex-e
求导数,f'=(x^2-x+1)'e^x+(x^2-x+1)(e^x)'=(2x-1)e^x+(x^2-x+1)e^x=(x^2+x)e^x
k=f'(1)=2e
所以y-f(1)=f'(1)(x-1)
即y-e=2e(x-1)
整理得到y=2ex-e