powered by
derv(func, x0, n = 1, complex = FALSE , tol= .Machine$double.eps^0.5)
derv(function(x){x^3},x0=2,n=2) derv(function(z){sin(z^2)/cos(1/z)},1)
Run the code above in your browser using DataLab