You're integrating , right? Be sure to account for the coefficient oft, which is negative one. That's the only difference between your answer and the correct one. And whenever in doubt, just try differentiating the answer you determined along with the answer given by the textbook. You'll probably notice the difference.