Functions > Symbolic Functions > Example: Comparing the Hypergeom, Mhyper, and Fhyper Symbolic Functions
  
Example: Comparing the Hypergeom, Mhyper, and Fhyper Symbolic Functions
The hypergeom Function
1. The following integral is defined in terms of the hypergeom function as follows:
Click to copy this expression
2. Evaluate the result at the endpoints of the interval [1, 2].
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
3. Ensure that the above numerical result agrees with the value of the following equivalent definite integral.
Click to copy this expression
The mhyper Function
1. Assign values to function mhyper parameters.
Click to copy this expression
Click to copy this expression
Click to copy this expression
2. Evaluate the function at mhyper(a,b,x).
Click to copy this expression
3. Verify that the hypergeom function returns the same results as mhyper for the special case in which:
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
The fhyper Function
1. Assign values to function fhyper parameters.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
2. Evaluate the function at fhyper(a,b,c,x).
Click to copy this expression
3. Verify that the hypergeom function returns the same results as fhyper for the special case in which:
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression