I'm doing a project on numerical integration in Matlab and I'm looking for some nice things to program.
So far, I programmed:
- Trapezium rule
- Simpson rule
- Double integral over a rectangle
- Estimating $\pi$ using the integral $$\int\limits_0^{1}\frac{4dx}{1+x^2}$$
Do you know any other things that involve integrals and are not too hard to program (I am a first year university undergraduate). Any ideas are welcome. I'm aware that this is a subjective question, but I'm interested in all kind of things.
Thanks in advance.