Home Login  |   Contact  |   About Us       Tuesday, October 15, 2024   

Pj0182295- Back to Home
   Skip Navigation LinksHOME ›  AREAS OF EXPERTISE  #3 ›   Numerical Integration ›  ~ Gauss-Hermite



Skip Navigation Links.



"Numerical Integration Solutions"
Gauss-Hermite Method

N RESULT 

EXACT RESULT = 0.88622692542758


(Actually after 4 is a repetition)


Results from the Gauss-Hermite method





IMPLEMENTATION
Gauss-Hermite Integration

To compute the following Gaussian integral using the Gauss-Hermite method:

I = ∫ e-x2 x2dx

The delegate function is simply x2, since the weighting function w(x) = e-x2 for the Gauss-Hermite integration.

Running this example creates the results shown above. The exact result of this integral is equal to √π / 2. The result for n = 3 is already very close to the exact result.



Testing the Gauss-Hermite Integration Method

In order to test the Gauss-Hermite method as defined above, a new TestGaussHermite() static method has been added and executed. Supporting code and methods are not shown.

           static void TestGaussHermite();
              {
                 ListBox1.Items.Clear();
                 ListBox2.Items.Clear();
                 double result;
                 for (int n = 1; n < 9; n++)
                 (
                   result = Integration.GaussHermite(f4, n);
                   ListBox1.Items.Add(" " + n + );
                   ListBox2.Items.Add(" " + result);
                 )
              }



Other Implementations...


Object-Oriented Implementation
Graphics and Animation
Sample Applications
Ore Extraction Optimization
Vectors and Matrices
Complex Numbers and Functions
Ordinary Differential Equations - Euler Method
Ordinary Differential Equations 2nd-Order Runge-Kutta
Ordinary Differential Equations 4th-Order Runge-Kutta
Higher Order Differential Equations
Nonlinear Systems
Numerical Integration
Numerical Differentiation
Function Evaluation


   Quotes

Consulting Services - Back to Home


Home

Home Math, Analysis,
  expertise..."

EIGENVALUE
SOLUTIONS...


> Rayleigh-Quotient Method

> Cubic Spline Method

 

Applied Mathematical Algorithms

Home

ComplexFunctions

Home

NonLinear
Home

Differentiation
Home

Integration
About Us


KMP Software Engineering is an independent multidisciplinary engineering consulting company specializing in mathematical algorithms.

      (About Us) →
Areas of
Expertise


SpecialFunctions
VectorsMatrices
OptimizationMethods
ComplexNumbers
Interpolation
CurveFitting
NonLinearSystems
LinearEquations
DistributionFunctions
NumericalDifferentiation
NumericalIntegration
DifferentialEquations
Smalltalk
FiniteBoundary
Eigenvalue
Graphics
Understanding
Mining


MiningMastery
MineralNews
MineralCommodities
MineralForum
Crystallography
Services


NumericalModeling
WebServices
MainframeServices
OutsourceServices

LINKED IN
MINE REVIEW(by G.Pacheco)
Brand





Home

Login

Contact
Since 2006 All Rights Reserved  © KMP Software Engineering LINKS | PRIVACY POLICY | LEGAL NOTICE