mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update midpoint_integral_method.cpp
This commit is contained in:
parent
2e9edaf260
commit
7af9b8fd58
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/**
|
||||||
* @file
|
* @file
|
||||||
* \brief A numerical method for easy [approximation of
|
* @brief A numerical method for easy [approximation of
|
||||||
* integrals](https://en.wikipedia.org/wiki/Midpoint_method) \details The idea
|
* integrals](https://en.wikipedia.org/wiki/Midpoint_method) \details The idea
|
||||||
* is to split the interval into N of intervals and use as interpolation points
|
* is to split the interval into N of intervals and use as interpolation points
|
||||||
* the xi for which it applies that xi = x0 + i*h, where h is a step defined as
|
* the xi for which it applies that xi = x0 + i*h, where h is a step defined as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user