Numerical Computation, Python, Mathematics, Differential Calculus, Differentiation.
a given value a using the concept of Right Hand and Left Hand derivative approximation. f = univariate function f(x) a = value at which derivative should be calculated f'(x=a) h = the tolerance h, which is a value very close to zero but not zero. """ return (func(a+h)-func(a-h))/(2*h) Results with