You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use an algorithm that uses Riemann's Left/Right/Midpoint/Trapezoidal sums to approximate the value of definite integrals.
Issue details
Using a deltaX, this will specify the width of each sub-interval. From there, based on the type of Riemann sum, the height of the rectangle can be determined. We can simply add up the areas of all rectangles to estimate the value of a definite integral.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
@il798li Hey! I went through your code — it's super clean and well-structured,
Would you be open to me contributing by adding a few things like:
1)Unit tests for all methods.
2)Optional generalization: allowing user to set number of intervals directly (instead of just accuracy).
3)Some input validation or performance notes. Let me know if you'd like me to take a stab at any of these.
What would you like to Propose?
We can use an algorithm that uses Riemann's Left/Right/Midpoint/Trapezoidal sums to approximate the value of definite integrals.
Issue details
Using a deltaX, this will specify the width of each sub-interval. From there, based on the type of Riemann sum, the height of the rectangle can be determined. We can simply add up the areas of all rectangles to estimate the value of a definite integral.
Additional Information
No response
The text was updated successfully, but these errors were encountered: