Calculating erf(x)?


by LM741
Tags: erfx
LM741
LM741 is offline
#1
Aug10-06, 11:40 AM
P: 130
Hi guys...
don't suppose anybody knows how to calculate the error function - erf(x)

I know Matlab can calculate it - but is it possible to evaluate it without computational techniques (i.e. using computers)?

[tex] {erf}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2} dt.[/tex]

Would appreciate any feedback.

thanks.

The link below will direct you to a website where the equation can be viewed...

http://images.planetmath.org:8080/ca...9/l2h/img2.png
Phys.Org News Partner Science news on Phys.org
Better thermal-imaging lens from waste sulfur
Hackathon team's GoogolPlex gives Siri extra powers
Bright points in Sun's atmosphere mark patterns deep in its interior
HallsofIvy
HallsofIvy is offline
#2
Aug10-06, 03:21 PM
Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 38,879
If you mean "Is there an elementary anti-derivative" that can be evaluated directly, the answer is no. The only way to evaluate erf(x) is to do a numerical integration.
LM741
LM741 is offline
#3
Aug10-06, 04:32 PM
P: 130
thanks...
by numerical integration do you mean applying Tayler Series and expansions like that?

HallsofIvy
HallsofIvy is offline
#4
Aug10-06, 08:17 PM
Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 38,879

Calculating erf(x)?


I was thinking more of Simpson's rule.
rbj
rbj is offline
#5
Aug10-06, 09:35 PM
P: 2,265
Quote Quote by LM741
thanks...
by numerical integration do you mean applying Tayler Series and expansions like that?
actually, with a computer program to calculate the terms and summation, that is what they do. one thing is that there is a nice closed form expression for the erf(x) for large x.

see http://mathworld.wolfram.com/Erf.html for some detail.
LM741
LM741 is offline
#6
Aug11-06, 08:43 AM
P: 130
thanks guys!


Register to reply

Related Discussions
calculating A in SHM from x, v & a Introductory Physics Homework 12
Calculating Rv Introductory Physics Homework 7
Calculating Ka Biology, Chemistry & Other Homework 2
Calculating dd.mm.ss Calculus 1