Skip to content

Implementation of Newton-Raphson method #650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 11, 2019
Merged

Implementation of Newton-Raphson method #650

merged 1 commit into from
Feb 11, 2019

Conversation

P-Shreyas-Shetty
Copy link
Contributor

Implemented Newton-Raphson method using pure python. Third party library is used only for visualizing error variation with each iteration.

Implemented Newton-Raphson method using pure python. Third party library is used only for visualizing error variation with each iteration.
Copy link
Member

@poyea poyea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will merge this now.

@poyea poyea merged commit 02f8509 into TheAlgorithms:master Feb 11, 2019
Copy link
Contributor

@jpg-130 jpg-130 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assignment to error is unnecessary as it is redefined before its value is used. Removing it makes sense.

This fixes warning a from lgtm
https://lgtm.com/projects/g/TheAlgorithms/Python/snapshot/121b2a8c453a0912dd7d66e4fa6f6acaf5a19d0f/files/maths/newton_raphson.py#x4475a190edfadc8d:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants