text: ## 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 .$$
explanation: The text extract is from a Calculus textbook and provides a solution to an integral problem. It evaluates the definite integral of the absolute value of the cosine function from 0 to π. The solution is broken down into steps, showing the integration over two intervals and the final result. The extract contains a question and its corresponding answer.
distilabel_metadata.content: Evaluate the user given text extract and determine if it contains a math question and optionally and answer to this question.
  
  Output rules:
  
  1. Briefly describe the document and mention if it contains a question or a question and answer.
  2. Finalize the output with: Label: no-question,question,question-and-answer,multiple-question,multiple-question-and-answer
distilabel_metadata.role: system
distilabel_metadata.content: ## 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 .$$
distilabel_metadata.role: user
distilabel_metadata.raw_output_q_a_detector_0: The text extract is from a Calculus textbook and provides a solution to an integral problem. It evaluates the definite integral of the absolute value of the cosine function from 0 to π. The solution is broken down into steps, showing the integration over two intervals and the final result. The extract contains a question and its corresponding answer.
  
  Label: question-and-answer