TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
30.67k stars 7.27k forks source link

[FEATURE] Bisection method #2579

Closed akhil-maker closed 1 year ago

akhil-maker commented 1 year ago

Detailed description

Add a bisection method in math folder

Context

This method can help people to get code for bisection so as to get a root for any function in an interval

Possible implementation

Add a program file

Additional information

No response

kushchoudhary98 commented 1 year ago

@akhil-maker will you please add the "hacktoberfest-accepted" label

dishhaa03 commented 1 year ago

https://github.com/dishhaa03/C-Plus-Plus/commit/f306f7f50eabfa5f646ccab18bb2a8ca3a48ccd7

I made a pull request, but something went wrong, it isn't showing the no. "#2579". But I remember adding it.

anasadh commented 1 year ago

@kushchoudhary98 Can you please assign me this issue? I want to contribute in it.

ABHIS2607 commented 1 year ago

@akhil-maker assign me the task

NitishPal2013 commented 1 year ago

@akhil-maker , The bisection method is part of numerical methods. Some contributors have already implemented it into numerical_methods directory. I would suggest to remove this from the issues.