CodeCogs - A iteractive open source Numerical library in C/C++, with wrappers for .NET and Excel Welcome... Login
Site Map
shopping cart
OSX compatibleWindows compatibleLinux compatible
Search CodeCogs
Numerical Components
Worked Examples

Valid RSS

mathsspecial

error Fn C

Only available under a commercial licence
COST (GBP)
this unit 0.70
sub units 2.96
add a commercial licence to your cart
0
viewed 1648 times and licensed 15 times

The Complementary Error Function.

Other modules that are used by this module. We add these to the cart for you whenever you add this module, unless you already own enough licences for them. Click for details
Controller: CodeCogs    Contact Controller

+View other versions (2)
Contents hide toc

Interface

#include <codecogs/maths/special/errorfnc.h>

using namespace Maths::Special;

double errorFnC (double x)
The Complementary Error Function.
ExcelReal cc_specialErrorFnC (Real x)
This function is available as a Microsoft Excel add-in.

Function Documentation

Error Fn C Calculator
  
Add calculator to website or email
 
doubleerrorFnCdoublex )
The complementary error function, usually denoted as erfc is directly related to the Error Function by:
  errorFnC(x) = 1 -  errorFn(x)
Thus
(1)
\displaystyle erfc(x) = 1 - erf(x) = \frac{2}{\sqrt \pi} \int_x^\infty e^{-t^2} \: dt
It therefore has the following shape:
1/erfc.gif
+
Example:
#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
Parameters:
xis the lower limit of the integration
Returns:
the Complementary Error Function
References:
http://mathworld.wolfram.com/Erfc.html
Authors:
Vince Cole (March 2005)
Source Code:

You do not own any licences for this module.
To view or download source code you must buy a commercial licence.

buy now     add cart

For advanced download and development options Register with CodeCogs. Already a Member, then Login.


Page Comments

Format Excel Equations

  You must login to leave a messge


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2009-01-05 22:49:36

Valid CSS!   Valid XHTML 1.0 Transitional