Post Reply 
WP 34S on DM 42 integral fail
04-13-2022, 12:52 AM
Post: #6
RE: WP 34S on DM 42 integral fail
From xrom/integrate.wp34s:
Quote:// - the double exponential method relies on the function to be
// integrated being analytic over the integration interval, except,
// perhaps, at the interval ends. Thus, if it is known that the
// integrand, _or any of its derivatives_, has a discontinuity at some
// point inside the integration interval, it is advised to break the
// interval at such point and compute two separate integrals, one
// at each side of the problematic point. Better results will be
// get this way. Thus, beware of abs, fp, ip and such non analytic
// functions inside the integrand program. Other methods (Romberg)
// may behave better in this respect, but, on the other side, the
// double exponential method manages discontinuities (of the
// integrand or its derivatives) at the interval edges better and
// is usually way faster that the Romberg method

In this specific case you can just integrate from 2 to 3.
Also you can skip the FILL command in your program.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP 34S on DM 42 integral fail - lrdheat - 04-12-2022, 07:06 PM
RE: WP 34S on DM 42 integral fail - Thomas Klemm - 04-13-2022 12:52 AM



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