Calculates a root of a function with Newton's method within an interval.
The function
Optional
The interval
const polynomial = Chalkboard.real.define((x) => x * x - 2);const root = Chalkboard.calc.Newton(polynomial, [1, 2]); // Returns approximately √2 Copy
const polynomial = Chalkboard.real.define((x) => x * x - 2);const root = Chalkboard.calc.Newton(polynomial, [1, 2]); // Returns approximately √2
Calculates a root of a function with Newton's method within an interval.