1 / | | -x | e *cos(n*x) dx | / 0
Use integration by parts:
Let and let .
Then .
To find :
There are multiple ways to do this integral.
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
The integral of the exponential function is itself.
So, the result is:
Now substitute back in:
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
The integral of a constant is the constant times the variable of integration:
So, the result is:
Now substitute back in:
Now evaluate the sub-integral.
The integral of a constant times a function is the constant times the integral of the function:
Use integration by parts:
Let and let .
Then .
To find :
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
The integral of the exponential function is itself.
So, the result is:
Now substitute back in:
Now evaluate the sub-integral.
The integral of a constant times a function is the constant times the integral of the function:
Don't know the steps in finding this integral.
But the integral is
So, the result is:
So, the result is:
Now simplify:
Add the constant of integration:
The answer is:
/ // -x -x -x \ \ / | || cosh(x)*e x*cosh(x)*e x*e *sinh(x) | | | | ||- ----------- + ------------- + ------------- for Or(n = -I, n = I)| | | -x | || 2 2 2 | -x | -x | e *cos(n*x) dx = C - n*|n*|< | - e *sin(n*x)| - cos(n*x)*e | | || cos(n*x) n*sin(n*x) | | / | || - ---------- + ---------- otherwise | | | || 2 x x 2 x x | | \ \\ n *e + e n *e + e / /
1 cos(n) n*sin(n) ------ - -------- + -------- 2 2 2 1 + n e + e*n e + e*n
=
1 cos(n) n*sin(n) ------ - -------- + -------- 2 2 2 1 + n e + e*n e + e*n
Use the examples entering the upper and lower limits of integration.