Math.js is a JavaScript library that brings advanced mathematics to the web browser and server.

The case study presented in the article “Math.Js: An Advanced Mathematics Library For JavaScript,” appearing in Computing in Science & Engineering, demonstrates its flexibility by extending the library with custom functions to solve and optimize a rocket trajectory.

Several benchmark comparisons with other JavaScript libraries and state-of-the-art mathematics software are presented, as well as the current challenges facing math.js, including performance and size.