Skip to content

Implementation of Newton-Raphson method - #650

Merged
poyea merged 1 commit into
TheAlgorithms:masterfrom
P-Shreyas-Shetty:master
Feb 11, 2019
Merged

poyea merged 1 commit into
TheAlgorithms:masterfrom
P-Shreyas-Shetty:master

Conversation

@P-Shreyas-Shetty

Copy link
Copy Markdown
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.

@poyea poyea left a comment

Copy link
Copy Markdown
Member

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

@jpg-130 jpg-130 left a comment

Copy link
Copy Markdown
Contributor

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