设曲线积分∫L[f(x)−ex]sinydx−f(x)cosydy与路径无关,其中f(x)具有一阶连续导数,且f(0)=0,则f(x)等于( )。2e−x−ex2ex−e−x2ex+e−x−11−2ex+e−xA2e−x−exB2ex−e−x正确答案C2ex+e−x−1D1−2ex+e−x