CTAN Comprehensive TeX Archive Network

luanumint – Numerical integration using Lua inside 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 documents.

Sources/macros/luatex/latex/luanumint
Documentation
Version1.2 2023-11-17
LicensesThe Project Public License 1.3c
MaintainerChetan Shirore and Ajit Kumar
Contained inTeX Live as luanumint
MiKTeX as luanumint
TopicsLua
Maths
Calculation

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

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author