visma icon indicating copy to clipboard operation
visma copied to clipboard

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

Open gr8geek opened this issue 5 years ago • 5 comments

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

gr8geek avatar Feb 24 '20 09:02 gr8geek

I would like to work on this.

ZouvikPan avatar Feb 25 '20 13:02 ZouvikPan

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 avatar Feb 25 '20 13:02 gr8geek

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

gr8geek avatar Feb 25 '20 13:02 gr8geek

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.

ZouvikPan avatar Feb 25 '20 13:02 ZouvikPan

Sure

gr8geek avatar Feb 25 '20 13:02 gr8geek