I'm toying around with statistics and calculus for a project of mine and I'm trying to find the simplest/fastest way to integrate this formula :
∫+∞−∞e−x2/2dx
- I do not want to use a table.
- I'm taking this opportunity to get more practice with my new calculus skills
- It seems that a Taylor series approx is the only way to go
Best Regards
Answer
If we set I:=∫Rexp(−x22)dx,
then
I2=∫R∫Rexp(−x2+y22)dxdy.
Introducting polar coordinates, i.e.
(xy)=(rcosφrsinφ),
yields
I2=∫∞r=0∫2πφ=0e−r2/2rdrdφ=(∫∞0re−r2/2dr)(∫2πφ=0dφ).
This expression can be easily calculated.
No comments:
Post a Comment