You can do numerical integrations of function using Newton-Cotes Formulas with 4 diferents methods: rectangle, midpoint, trapezoidal and Simpson, you just need a function, the limits and the number of intervals Or using Romberg Integration. Try it and tell us what you think.