Return to site

Integration e x2

broken image

When the 'Go!' button is clicked, the Integral Calculator sends the mathematical function and the settings (variable of integration and integration bounds) to the server, where it is analyzed again.

broken image

MathJax takes care of displaying it in the browser. This allows for quick feedback while typing by transforming the tree into LaTeX code. The parser is implemented in JavaScript, based on the Shunting-yard algorithm, and can run directly in the browser. The Integral Calculator has to detect these cases and insert the multiplication sign. A specialty in mathematical expressions is that the multiplication sign can be left out sometimes, for example we write '5x' instead of '5*x'. In doing this, the Integral Calculator has to respect the order of operations. It transforms it into a form that is better understandable by a computer, namely a tree (see figure below).

broken image
broken image

For those with a technical background, the following section explains how the Integral Calculator works.įirst, a parser analyzes the mathematical function.

broken image