How to change step size of differentiation

I have no idea what you are asking about but maybe you just want to play with TF1::GetNpx and TF1::SetNpx which are related to the number of points used to draw the function.

BTW. What concerns “intergration”, see for example: