Post Reply 
Accuracy of Integral with epsilon
10-09-2021, 08:47 AM
Post: #13
RE: Accuracy of Integral with epsilon
(10-09-2021 02:27 AM)Paul Dale Wrote:  Clearly one evaluation is sufficient to get the correct answer here. Two might be prudent to verify that it is a constant function. Three perhaps?

It seems what's really being tested here is how the integrator handles the slight noisiness of the function at the low end of the range, when sinh(x) and cosh(x) become large but with opposite signs, so numerical cancellation becomes an issue.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Accuracy of Integral with epsilon - Thomas Okken - 10-09-2021 08:47 AM

User(s) browsing this thread: 1 Guest(s)