Calculates the nth-degree Taylor series approximation of a function at a value centered around another value.
The function
The value
The degree
The center
const exponential = Chalkboard.real.define((x) => Math.exp(x));const approximation = Chalkboard.calc.Taylor(exponential, 0.1, 2, 0); // Uses the quadratic Taylor polynomial Copy
const exponential = Chalkboard.real.define((x) => Math.exp(x));const approximation = Chalkboard.calc.Taylor(exponential, 0.1, 2, 0); // Uses the quadratic Taylor polynomial
Calculates the nth-degree Taylor series approximation of a function at a value centered around another value.