mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-09 05:44:36 +00:00
[PR #1388] [CLOSED] feat: added derivative and second derivative approximations #1985
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1388
Author: @Ajadamson206
Created: 4/17/2024
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
d602d3afeat: added algorithms for calculating the derivative and second derivative334b47bfix: fixed spelling errors📊 Changes
2 files changed (+286 additions, -0 deletions)
View changed files
➕
numerical_methods/differentiation_midpoint.c(+141 -0)➕
numerical_methods/differentiation_second_mid.c(+145 -0)📄 Description
Description of Change
Added two new files to the numerical methods directory.
File 1: differentiation_midpoint.c -> Uses the symmetric derivative to calculate the derivative for any function at x as long as x is defined
File 2: differentiation_second_mid.c -> Uses the second derivative three-point midpoint formula to calculate the second derivative for any function at x as long as x is defined
References
Checklist
Notes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.