Finding roots of non-linear equation

In one of my computational mathematics class, I was taught how to find roots of non-linear equations using 4 methods, namely, Bisection, False Position, Secant, and Newton method.

These 4 methods requires few iterations to get the roots, this can be done by a computer. So, I made a web app for this.

In the Newton method, I am required to find the derivative of the non-linear equation, so I used the Wolfram Alpha API. You can view the source code here.

Leave a Reply