Integration help... Anybody?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
Ozguxxx

Integration help... Anybody?

Post by Ozguxxx »

Hi, I am trying to do my applied electromagnetics homework and I am trying to integrate some bloody stupid function for about 2 hours of my time anybody who is interested in this integral please if you can do this, leave only the answer, and I will be greartly happy if you can tell me how to do it later... Here we go:


pi
---
|
| sin^2(x) dx
| ---------------
| d - bcos(x)
|
---
0

b and d are constants, pi is 3.14159264.... thing I am sure that there are some people who can evalute this, I need help... Thanx...
CESS.tk

Re:Integration help... Anybody?

Post by CESS.tk »

Maple says
-2*Pi*(-csgn((d+b)*conjugate(sqrt(d^2-b^2)))*b^2+csgn((d+b)*conjugate(sqrt(d^2-b^2)))*d^2-d*sqrt(d^2-b^2))/b^2/(d^2-b^2)^(1/2)
With csgn the sign function for real and complex expressions:[pre] / 1 if Re(x) > 0 or Re(x) = 0 and Im(x) > 0
csgn(x) = <
\ -1 if Re(x) < 0 or Re(x) = 0 and Im(x) < 0
[/pre]
There's probably a prettier answer to this, but I can't be arsed today.
Post Reply