mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-07-13 12:36:38 +00:00
[PR #1036] [CLOSED] Added roots.c #1586
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/1036
Author: @Harshitaggarwal4
Created: 10/12/2022
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
eadcb68Added roots.c📊 Changes
1 file changed (+166 additions, -0 deletions)
View changed files
➕
numerical_methods/roots.c(+166 -0)📄 Description
This algorithm finds the roots of the given n degree polynimial.
The accuracy is upto 2 decimal places. Can be increased if needed.
Will not output all the roots if the difference between two of the roots is lesser than 1. Also, misses double roots.
Description of Change
References
Checklist
Notes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.