Numerical integration vs. integrals that are zero
|
03-06-2019, 10:55 PM
Post: #14
|
|||
|
|||
RE: Numerical integration vs. integrals that are zero
Trying to get a handle on the behavior of INTEG on the HP-42S, I had it integrate SIN (in DEG mode) from 7 to 367, with ACC = 1, 0.1, 0.01, ..., 1e-15, and charted the results, the estimated absolute error, and the number of points that were sampled:
Code: ACC INTEG EPS PTS I'm not showing the actual sample points; they are distributed as described before by Werner and Thomas K. There is something odd here: between 1e-6 and 1e-7, the number of points sampled remains the same, 63, but the evaluated integral is different. How can that be? And this happens again between 1e-9 and 1e-10: the same 127 points are sampled, but the results are different. And EPS is clearly also not just a function of the points being sampled. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)