Method of Simpson with accuracy
Type function:
The initial point:
The final point:
Accuracy: