Recommand · October 14, 2021 0

Solving definite integrals in javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.


Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 1 hour ago.

This post was edited and submitted for review 55 mins ago.

Improve this question

Given the bounds of integration and the two functions, is there a way to estimate the area between the two functions?

For example: given "x" and "x^3" I want to integrate 0 to 1 of (x-x^3) dx. Picture below included for visual.

Picture of example