error Fn C
The Complementary Error Function.
Controller:
CodeCogs
Dependents
Interface
#include <codecogs/maths/special/errorfnc.h>
using namespace Maths::Special;
| double | errorFnC (double x)
The Complementary Error Function. |
Use the following HTML code to embed the calculators within other websites:
ErrorFnC
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:
Graph is not currently available
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
| x | is 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.
You must login to leave a messge