Apply Newton‑Raphson method