Enter a function of x, compute its numerical derivative and definite integral, and visualize the results.