midpt


midpt, an R library which estimates an integral using the midpoint method.

Licensing:

Copyright 2016 James P. Howard, II

The computer code and data files on this web page are distributed under the BSD-2-Clause license.

Languages:

midpt is available in an R version.

Related Data and Programs:

adaptint, an R library which estimates an integral using an adaptive midpoint rule.

mcint, an R library which estimates an integral using the Monte Carlo method.

mcint2, an R library which estimates an integral over a rectangle using the Monte Carlo method.

midpt_test

romberg, an R library which estimates an integral using Romberg extrapolation.

simp, an R library which estimates an integral using Simpson's rule.

simp38, an R library which estimates an integral using Simpson's 3/8rule.

trap, an R library which estimates an integral using the trapezoid method.

Author:

Original R code by James Howard; Modifications by John Burkardt.

Reference:

  1. James Howard,
    Computational Methods for Numerical Analysis with R,
    CRC Press, 2017,
    ISBN13: 978-1-4987-2363-3.
  2. https://CRAN.R-project.org/package=cmna

Source Code:


Last revised on 02 March 2020.