algorithms-js
algorithms-js copied to clipboard
Add newtons square root method
OTHERS
Added the Newton's method for square root estimation mentioned in #10
Description of new feature, or changes
It implements the newton's recursive method for square root approximation. Test cases have also been added to check the implemented functionality. Docs have been modified to include the new function
Checklist
- [X] Your branch is up-to-date with the base branch
- [X] You've included at least one test if this is a new feature
- [X] All tests are passing
Related Issues and Discussions
Adds on the required features mentioned in #10 .