[tex] \int_{0}^{\pi/2}(cos(\theta)*exp(-2[\pi(1-cos(\theta))]^2)/k^2)/erf(2\pi/k) [/tex](adsbygoogle = window.adsbygoogle || []).push({});

Where of course the error function erf is defined as:

[tex]

erf(x)=2/\pi\int_{0}^{x}exp(-t^2)dt

[/tex]

Anyway... this is the problem I want to integrate. I am not looking for someone to post a solution. My question is simply what is the best way of tackling this monster. My first thought is to expand each of the functions into a power series and use the "crank the handle" method. Not very elegant. Can anyone see a better/quicker method?

Thanks

Harry

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Should I expand as a power series and then integrate or is there an elegant method?

**Physics Forums | Science Articles, Homework Help, Discussion**