Newton-Raphson Calculator

About the Newton-Raphson Method

The Newton-Raphson method was named after Newton and Joseph Raphson. This method, also known as the tangent method, considers tangents drawn at the initial approximations, which gradually lead to the real root.

Algorithm

  1. Get the function f(x), initial value(xi), and the maximum error percent(e) of the root as an input
  2. Get the derivation f(x)
  3. With a given initial value(x), compute the value of f(x) and its derivative f'(x)
  4. With the formula: xi+1 =xi-f(xi)f'(xi) , compute for the succeeding approximate root
  5. Solve for the approximate percent relative error (∈). ∈ =|xi+1- xixi+1| 100%.
  6. If the is ∈ > e,   set x = xi + 1   go back to step 4 else, xi + 1 is the approximate root

About us

Our team members are hardworking passionate individuals who strive excellency in the things we do. We are students who are currently enrolled in Saint Louis University, under the course Bachelor of Science in Computer Science. We hope to become hardworking professionals within the foreseeable future.