Romberg integration code
Write a program that numerically computes the integral of any given continuous function using Romberg integration. You may hardcode the to-be-integrated function in your program, but it should only appear once in your code, so its easy to change to a different function. Likewise for the endpoints of the interval of integration and error tolerance.
You may use any common programming language, such as Python, C/C++, Java.
I’ve posted the spreadsheet (attached) where I demoed Romberg integration; the output of your program should look like that table. You should also run your program on at least one integral for which you “can’t” do analytically to see if it works. (Integral of e^(-x^2/2) over any finite interval is a good one if you can’t think of another one you like.
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|