Integration by parts (2-x)cos(nPi/2)x?

Splint
Messages
10
Reaction score
0

Homework Statement


Hi,

I'm doing fouier transforms and I'm not sure how to integrate (2-x)cos(nPi/2)x, (1,2). Anyone able to help me out? Even the indefinite integral would be fine.

Homework Equations



The Attempt at a Solution


I guess u would be (2-x) and dv would be cos(nPi/2)x dx. I'm not sure how to handle (nPi/2) since it is not a constant. Does (nPi/2) stay with x at all times?

Homework Statement


Homework Equations


The Attempt at a Solution

 
Last edited:
n pi/2 IS a constant during the integration with respect to x.
Yes, it will be fine if you integrate by parts. How is the function exactly defined? Are you sure that you wrote the cosine function correctly? .

ehild
 
Last edited:
Thanks Ehild,

It's actually a half range expansion. The function is:

f(x)= (1, 0<x<1
(2-x, 1=<x=<2

So I believe the cosine function is correct. I won't try and integrate it right now but I should be ok with it.

Many thanks
Splint
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
20K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
3K