Skip to content
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

Exted the root finding capability by adding a function to numerically evaluate root upto specified precission #235

Open
gr8geek opened this issue Feb 24, 2020 · 5 comments

Comments

@gr8geek
Copy link

gr8geek commented Feb 24, 2020

We will be using regular falsi combined with newton raphson and bisection method to find the root .It is beneficial in two ways as
1.It can be used to test/verify the roots obtained by step by step solver
2. It can be used to find the roots of transcendental equation
Example:
find_root(expression,lower bound,upper bound,decimal place precission)
find_root(cos(x)-x*e^x,0,1,4)
Answer=0.5177

@ZouvikPan
Copy link

I would like to work on this.

@gr8geek
Copy link
Author

gr8geek commented Feb 25, 2020

I have already started some work on this and trying to make it more fail-safe and efficient,
I will be sharing my work with you after my semester exams are over(i am into my exams).

@gr8geek
Copy link
Author

gr8geek commented Feb 25, 2020

it seems simple but NR algorithm could fail at times which should be handled by other algorithms ( bisection or regular falsi which can yet fail at other cases)
and they have a different asymptotic rate of convergence

@ZouvikPan
Copy link

Actually I have been working on this already. Lets's work together on this then. I think Newton Raphson alone won't be able to do the job of finding roots.

@gr8geek
Copy link
Author

gr8geek commented Feb 25, 2020

Sure

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

No branches or pull requests

2 participants