## Calculus (3rd Edition)

$2$
We have $$\int_{0}^{\pi}|\cos x| d x= \int_{0}^{\pi/2}|\cos x| d x+\int_{\pi/2}^{\pi}|\cos x| d x\\ =\int_{0}^{\pi/2}\cos xd x-\int_{\pi/2}^{\pi}\cos x d x\\ =\sin x|_{0}^{\pi/2}-\sin x|_{\pi/2}^{\pi}\\ =1-(-1)=2 .$$
The text passage contains a calculus problem involving the evaluation of a definite integral, and the solution to the problem is provided.
single_question_with_answer
Given a text passage, determine:
    1. If it contains a mathematical question (including word problems or calculations)
    2. If an answer to that mathematical question is provided in the text

First, describe the content structure you found in 1-2 sentences.

Then provide your analysis in the following format:
TYPE: <one of the following values>
- NO_QUESTION
- SINGLE_QUESTION
- SINGLE_QUESTION_WITH_ANSWER
- MULTIPLE_QUESTIONS
- MULTIPLE_QUESTIONS_WITH_ANSWERS
system
## Calculus (3rd Edition)

$2$
We have $$\int_{0}^{\pi}|\cos x| d x= \int_{0}^{\pi/2}|\cos x| d x+\int_{\pi/2}^{\pi}|\cos x| d x\\ =\int_{0}^{\pi/2}\cos xd x-\int_{\pi/2}^{\pi}\cos x d x\\ =\sin x|_{0}^{\pi/2}-\sin x|_{\pi/2}^{\pi}\\ =1-(-1)=2 .$$
user
The text passage contains a calculus problem involving the evaluation of a definite integral, and the solution to the problem is provided.

TYPE: SINGLE_QUESTION_WITH_ANSWER