# luanumint – Numerical integration using Lua inside LaTeX documents

This package uses Lua to calculate the numerical integral value of real-valued functions of a real variable over closed and bounded intervals.

The package provides commands to perform numerical
integration using the mid-point, trapezoidal, and
Simpson’s one-third and three-eighth rules.
The `loadstring` command is used to load and
evaluate functions at different points in the mathematics
environment of Lua. The package also provides commands
to perform numerical integration using step-by-step
calculations.

The package’s commands have an optional argument to round off the numbers to the desired number of decimal places. The breqn package is loaded to display and align step-by-step calculations properly. Advanced users can customize the code to achieve the desired formatting of step-by-step computations.

The package can assist in creating various problems on numerical integration with their solutions. The results obtained using different methods of numerical integration can be compared. It can save users’ efforts of doing computations involving numerical integration in external software and copying them inside LaTeX documents.

Sources | `/macros/luatex/latex/luanumint` |

Documentation | |

Version | 1.2 2023-11-17 |

Licenses | The LaTeX Project Public License 1.3c |

Maintainer | Chetan Shirore and Ajit Kumar |

Contained in | TeX Live as luanumint MiKTeX as luanumint |

Topics | LuaTeX Maths Calculation |

Download the contents of this package in one zip archive (138.5k).

## Announcements

## Suggestions

Maybe you are interested in the following packages as well.

## Community Comments