Post Reply 
Problem with integral on WP 34s
09-12-2021, 08:41 PM
Post: #18
RE: Problem with integral on WP 34s
Glad it helped!

With flag D set, 1/0 is returned as infinity and the square root of -5 is NaN (when not using CPX). I don't think that this is a problem when working from the keyboard, but it does mean that a program that would be halted by an error will continue to run when Flag D is set. If a program's logic relies on it being halted by an error, this could be a problem.

The first integral above
\[\int_{-2}^3x^{-1/3}\,{\rm d}x\]
still doesn't work properly even with Flag D set. The comments from the integration code state that
Quote:the double exponential method relies on the function to be
integrated being analytic over the integration interval, except,
perhaps, at the interval ends
and so, with this integration method, the problem is unavoidable. The comments also suggest that the Romberg method might be better in this respect, but would in general be slower. Do you think it would be helpful to provide the old Romberg code as an alternative for situations like this?

Nigel (UK)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with integral on WP 34s - lrdheat - 09-08-2021, 01:43 AM
RE: Problem with integral on WP 34s - Nigel (UK) - 09-12-2021 08:41 PM



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