Top "Numerical-integration" questions

Algorithms that integrate functions over one or more dimensions using approximation techniques, instead of exact, closed-form solutions using symbolic algebra and calculus.

Calculate the Area under a Curve

I would like to calculate the area under a curve to do integration without defining a function such as in …

r numerical-integration
How do I do numerical integration of a vector in MATLAB?

I have a vector of 358 numbers. I'd like to make a numerical integration of this vector, but I don't know …

matlab numerical-integration
Trapezoidal rule in Python

I'm trying to implement the trapezoidal rule in Python 2.7.2. I've written the following function: def trapezoidal(f, a, b, n): …

python numerical-integration
Gauss(-Legendre) quadrature in python

I'm trying to use Gaussian quadrature to approximate the integral of a function. (More info here: http://austingwalters.com/gaussian-quadrature/). …

python numpy gaussian numerical-integration
double integral in R

I'm wondering how to code that takes double integrals in R. I already referred two similar questions. calculating double integrals …

r integral numerical-integration
Integral Function in R

I have defined the following function in R (where a is a given constant and is a known function) but …

r function numerical-methods integral numerical-integration
Integrating error: maximum number of subdivisions reached

I am trying to plot a Fourier integral, but I get error while integrating X <- seq(-10, 10, by = 0.05) …

r plot numerical-integration
How to overcome singularities in numerical integration (in Matlab or Mathematica)

I want to numerically integrate the following: where and a, b and β are constants which for simplicity, can all be …

matlab wolfram-mathematica numerical-integration
Solve an implicit ODE (differential algebraic equation DAE)

I'm trying to solve a second order ODE using odeint from scipy. The issue I'm having is the function is …

python scipy constraints ode numerical-integration