Mister Exam

Other calculators

Integral of x^2*cos(x)+2 dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1                   
  /                   
 |                    
 |  / 2           \   
 |  \x *cos(x) + 2/ dx
 |                    
/                     
0                     
$$\int\limits_{0}^{1} \left(x^{2} \cos{\left(x \right)} + 2\right)\, dx$$
Integral(x^2*cos(x) + 2, (x, 0, 1))
Detail solution
  1. Integrate term-by-term:

    1. Use integration by parts:

      Let and let .

      Then .

      To find :

      1. The integral of cosine is sine:

      Now evaluate the sub-integral.

    2. Use integration by parts:

      Let and let .

      Then .

      To find :

      1. The integral of sine is negative cosine:

      Now evaluate the sub-integral.

    3. The integral of a constant times a function is the constant times the integral of the function:

      1. The integral of cosine is sine:

      So, the result is:

    1. The integral of a constant is the constant times the variable of integration:

    The result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                                                
 |                                                                 
 | / 2           \                            2                    
 | \x *cos(x) + 2/ dx = C - 2*sin(x) + 2*x + x *sin(x) + 2*x*cos(x)
 |                                                                 
/                                                                  
$$\int \left(x^{2} \cos{\left(x \right)} + 2\right)\, dx = C + x^{2} \sin{\left(x \right)} + 2 x \cos{\left(x \right)} + 2 x - 2 \sin{\left(x \right)}$$
The graph
The answer [src]
2 - sin(1) + 2*cos(1)
$$- \sin{\left(1 \right)} + 2 \cos{\left(1 \right)} + 2$$
=
=
2 - sin(1) + 2*cos(1)
$$- \sin{\left(1 \right)} + 2 \cos{\left(1 \right)} + 2$$
2 - sin(1) + 2*cos(1)
Numerical answer [src]
2.23913362692838
2.23913362692838

    Use the examples entering the upper and lower limits of integration.