mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
16 lines
458 B
Markdown
16 lines
458 B
Markdown
|
|
#math/calculus
|
|
|
|
# approximate an integral
|
|
these are cool because these functions can approximate any integral, even if the integration cannot be calculated by hand. imo, this is how every integral should be done, since we have so many computers.
|
|
|
|
## trapezoidal
|
|
![[PXL_20220511_145131617~3.jpg]]
|
|
### error formula
|
|
$$|E_T|=\frac{k(b-a)^{3}}{12n^{2}}$$
|
|
|
|
## midpoint
|
|
![[PXL_20220511_145131617~2 1.jpg]]
|
|
|
|
### error formula
|
|
$$|E_M|=\frac{k(b-a)^{3}}{24n^{2}}$$ |