Find a root of f(x) = 0 using Newton’s method (also called Newton-Raphson), which uses both function values and derivatives: x_ = x_n - f(x_n)/f’(x_n). Provides quadratic convergence when near the root but requires a good initial guess. Uses numerical differentiation to approximate the derivative. Ideal for problems where you have a reasonable starting point.
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Built-in function or 'custom_poly' for polynomial
sin, cos, exp, log, exp_minus_2, x2_minus_4, custom_poly "exp_minus_2"
Initial guess for the root
1
Convergence tolerance
1e-12
Polynomial coefficients (only for custom_poly)
[-2, 0, 1]