[PR #1453] [CLOSED] feat: Added new numerical algorithms to estimate integrals #2048

Open
opened 2026-01-29 15:28:05 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1453
Author: @jspmic
Created: 11/23/2024
Status: Closed

Base: masterHead: feature-numerical_integrals


📝 Commits (4)

  • 1b0e2b2 feat: Implementation of the mid-point and trapezoidal rule
  • 0386329 fix: Added simpsons rules
  • 8728719 feat: Added Boole's rule
  • b4d3720 feat: Added precise comments and essential macros

📊 Changes

1 file changed (+209 additions, -0 deletions)

View changed files

numerical_methods/newton_cotes_formulas.c (+209 -0)

📄 Description

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: Among the numerical methods implemented, the simpson 1/3 rule was poorly implemented and i had to re-write it from scratch.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1453 **Author:** [@jspmic](https://github.com/jspmic) **Created:** 11/23/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature-numerical_integrals` --- ### 📝 Commits (4) - [`1b0e2b2`](https://github.com/TheAlgorithms/C/commit/1b0e2b2a09d75b0b1502ff46c9f11ec5535d8abc) feat: Implementation of the mid-point and trapezoidal rule - [`0386329`](https://github.com/TheAlgorithms/C/commit/0386329d5463305e6f1ec7b1f7d117d7785d41b3) fix: Added simpsons rules - [`8728719`](https://github.com/TheAlgorithms/C/commit/8728719fbbba3bea2b63a2659ebea057d4061640) feat: Added Boole's rule - [`b4d3720`](https://github.com/TheAlgorithms/C/commit/b4d372005ae758f013bdb29158414f39f7e45d9e) feat: Added precise comments and essential macros ### 📊 Changes **1 file changed** (+209 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `numerical_methods/newton_cotes_formulas.c` (+209 -0) </details> ### 📄 Description - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: Among the numerical methods implemented, the simpson 1/3 rule was poorly implemented and i had to re-write it from scratch. <!-- Please add a one-line description for developers or pull request viewers --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:28:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2048