DAWSN

Dawson’s integral is a special function related to the error-function family and appears in spectroscopy and wave propagation.

F(x)=e^{-x^2}\int_0^x e^{t^2}\,dt

This wrapper evaluates Dawson’s integral F(x) for a scalar real argument using SciPy.

Excel Usage

=DAWSN(x)
  • x (float, required): Real argument for Dawson’s integral (dimensionless).

Returns (float): Dawson integral value at the input.

Example 1: Dawson integral at zero

Inputs:

x
0

Excel formula:

=DAWSN(0)

Expected output:

0

Example 2: Dawson integral at one half

Inputs:

x
0.5

Excel formula:

=DAWSN(0.5)

Expected output:

0.424436

Example 3: Dawson integral at one

Inputs:

x
1

Excel formula:

=DAWSN(1)

Expected output:

0.53808

Example 4: Dawson integral at two

Inputs:

x
2

Excel formula:

=DAWSN(2)

Expected output:

0.30134

Python Code

from scipy.special import dawsn as scipy_dawsn

def dawsn(x):
    """
    Evaluate Dawson's integral for a real input.

    See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.dawsn.html

    This example function is provided as-is without any representation of accuracy.

    Args:
        x (float): Real argument for Dawson's integral (dimensionless).

    Returns:
        float: Dawson integral value at the input.
    """
    try:
        x = float(x)
        return float(scipy_dawsn(x))
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Real argument for Dawson's integral (dimensionless).