Updated: 9 August 2010

Use BETA to calculate the beta function. This is equivalent of `Beta`[*a*, *b*] in *Mathematica*. Also called the Euler integral, the BETA function is defined by

The beta function is symmetric, meaning

SELECT [wctStatistics].[wct].[BETA] (

<@A, float,>

,<@B, float,>)

is any real number. @*A *is an expression of type **float** or of a type that can be implicitly converted to **float**.

is any real number. @*B *is an expression of type **float** or of a type that can be implicitly converted to **float**.

float

· If *@A* ≤ 0, BETA returns an error.

· If *@B* ≤ 0, BETA returns an error.

SELECT wct.BETA(7.5, 1.5)

This produces the following result

----------------------

0.0411298598751837

(1 row(s) affected)