Math, Mathematics, Science, Numerical Analysis, Integration.
Return or print the value. Code I have written it as a function so that we can use it at any time(it just uses numpy, although the program will work fine without it, just remove the pi value in the 2nd line with it’s true value): This is a simple program. You can make it a little more user friendly