Numerical First Derivative
Estimate the first derivative of a real expression with step refinement.
Enter a finite value within the formula’s domain and supported numeric range.
Calculation and assumptions
D(h)=(f(x+h)−f(x−h))/(2h); R=(4D(h/2)−D(h))/3; error≈abs(R_new−R_old)/15.
Grammar: x, pi, e, + − * / ^, parentheses; sin, cos, tan, exp, ln, log, sqrt, abs. No implicit multiplication. At most 512 characters and 20 refinements. Error is an estimate scaled by max(1,abs(R)); one-sided slopes must also agree. Domain errors, nonconvergence and unresolved steps fail. Smoothness is assumed; this does not prove differentiability or give a symbolic derivative.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
D(h)=(f(x+h)−f(x−h))/(2h); R=(4D(h/2)−D(h))/3; error≈abs(R_new−R_old)/15.
What assumptions apply?
Grammar: x, pi, e, + − * / ^, parentheses; sin, cos, tan, exp, ln, log, sqrt, abs. No implicit multiplication. At most 512 characters and 20 refinements. Error is an estimate scaled by max(1,abs(R)); one-sided slopes must also agree. Domain errors, nonconvergence and unresolved steps fail. Smoothness is assumed; this does not prove differentiability or give a symbolic derivative.
How precise are the results?
Results show up to ten significant digits. Display precision does not improve the accuracy of the measurements or model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.