In the following sections, we will look at how to compute integrals with weight functions.
Computing integrals with weighting functions
Getting ready
The proper function needs to be executed using the equations in each case.
How to do it...
- Weighted functions can be realized as products of the f(x)w(x) kind for some smooth function f(x) with a non-negative weight function w(x) containing singularities.
- An illustrative example is given by cos(πx/2)/√x. We could regard this case as the product of cos(πx/2) with w(x)=1/√x. The weight presents a...