Mister Exam

Other calculators

Integral of -1*cos(nx) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  0             
  /             
 |              
 |  -cos(n*x) dx
 |              
/               
-pi             
$$\int\limits_{- \pi}^{0} \left(- \cos{\left(n x \right)}\right)\, dx$$
Integral(-cos(n*x), (x, -pi, 0))
The answer (Indefinite) [src]
  /                   //   x      for n = 0\
 |                    ||                   |
 | -cos(n*x) dx = C - |
            
$$-{{\sin \left(n\,x\right)}\over{n}}$$
The answer [src]
/-sin(pi*n)                                   
|-----------  for And(n > -oo, n < oo, n != 0)
<     n                                       
|                                             
\    -pi                 otherwise            
$$-{{\sin \left(n\,\pi\right)}\over{n}}$$
=
=
/-sin(pi*n)                                   
|-----------  for And(n > -oo, n < oo, n != 0)
<     n                                       
|                                             
\    -pi                 otherwise            
$$\begin{cases} - \frac{\sin{\left(\pi n \right)}}{n} & \text{for}\: n > -\infty \wedge n < \infty \wedge n \neq 0 \\- \pi & \text{otherwise} \end{cases}$$

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