f(-x)=e^-x-e^x+2x=-[e^x-e^-x-2x]=-f(x)
所以奇函数
g(x)=e^x-2x
令g’(x)=e^x-2=0 x=ln2
g(ln2)为最小值=2-2ln2
最大值为max(g(0),g(2))具体值自己算一下吧