I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
get GPL
COST (GBP)
this unit 0.30
sub units 2.50
+
0
MathsSpecial

error Fn C

The Complementary Error Function.
Controller: CodeCogs

Dependents

Info

Interface

C++

ErrorFnC

 
doubleerrorFnCdoublex )
The complementary error function, usually denoted as erfc is directly related to the Error Function by:
errorFnC(x) = 1 -  errorFn(x)
Thus It therefore has the following shape:
There is an error with your graph parameters for errorFnC with options x=-2.9:2.9

Error Message:Function errorFnC failed. Ensure that: Invalid C++

Example 1

#include <codecogs/maths/special/errorfnc.h>
#include <stdio.h>
using namespace Maths::Special;
int main()
{
  double x = 0.5;
  printf("\n errorFnC(%f) = %f", x, errorFnC(x));
}
Output:
errorFn(0.500000) = 0.479500

References

http://mathworld.wolfram.com/Erfc.html

Parameters

xis the lower limit of the integration

Returns

the Complementary Error Function

Authors

Vince Cole (March 2005)
Source Code

Source code is available when you agree to a GP Licence or buy a Commercial Licence.

Not a member, then Register with CodeCogs. Already a Member, then Login.