Answer
$\ln 2+\frac{1}{e^2}-\frac{1}{e}$
Work Step by Step
$\int^{2}_{1}(\frac{1}{x}-e^{-x})dx$
=$(ln x+e^{-x})|^2_1$
=$(ln2+e^{-2})-(ln 1+e^{-1})$
=$\ln 2+\frac{1}{e^2}-\frac{1}{e}$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.