It rather depends on what you are trying to do. If you just want the value of the derivative at a point, the above method will work fine. Or you could do something more involved like Richardson ...