Take the derivative of a function.
Function f(x)
f(x)
The x-value where to evaluate the derivative
Small step value
f'(x)
const y = SMath.differentiate(x => 3 * x ** 2, 2); // 12 Copy
const y = SMath.differentiate(x => 3 * x ** 2, 2); // 12
Take the derivative of a function.