Integration
04-03-2014, 01:50 PM
Post: #1
 Helge Gabert Senior Member Posts: 460 Joined: Dec 2013
Integration
I ran across this simple definite integral recently

int(x,x,0,3) and the Prime hangs. I tried other limits and no problems.
04-03-2014, 02:17 PM
Post: #2
 DrD Senior Member Posts: 1,101 Joined: Feb 2014
RE: Integration
I just tried your simple, definite integral int(x,x,0,3), with emulator in cas view;
in this case, the only thing hung was a nine over a two.
04-03-2014, 05:01 PM
Post: #3
 Helge Gabert Senior Member Posts: 460 Joined: Dec 2013
RE: Integration
I'm using the physical Prime.

I tried the emulator as well, and if you pay close attention, you will notice a certain lag with this problem. Subsitute other limits, and the response is instantaneous. Go figure.
04-03-2014, 05:41 PM
Post: #4
 Terje Vallestad Member Posts: 145 Joined: Dec 2013
RE: Integration
(04-03-2014 05:01 PM)Helge Gabert Wrote:  I'm using the physical Prime.

I tried the emulator as well, and if you pay close attention, you will notice a certain lag with this problem. Subsitute other limits, and the response is instantaneous. Go figure.

Using the physical Prime.

If you uncheck the Exact flag in CAS, you get the message:
Adaptive method failure, will try with Romberg, last approximation was 4.5

If you leave the flag set and hit "On" after starting the calculation you get 9/2 instantly.

In Home if you use the Template and input the integral, the calc hangs and pressing On results in
Error: Invalid input, but only if the CAS a Exact flag is set. With the flag clear you get 4.5.

Very strange

Cheers, Terje
04-04-2014, 01:31 AM
Post: #5
 orcinus Member Posts: 58 Joined: Mar 2014
RE: Integration
It doesn't really "hang".

It takes its sweet time, during which there's an animated hourglass in the top right corner of the screen, indicating activity. After a while, it spits out 9/2.

While on the subject, is there a way to interrupt/cancel a calculation?
04-04-2014, 01:38 AM
Post: #6
 Helge Gabert Senior Member Posts: 460 Joined: Dec 2013
RE: Integration
Yes, cancel with Esc or ON. Or ON-Symb if ESC or ON don't work.

By the way, the above integral can be computed immediately by hitting the ON key, after pressing ENTER.
04-05-2014, 04:11 AM
Post: #7
 orcinus Member Posts: 58 Joined: Mar 2014
RE: Integration
(04-04-2014 01:38 AM)Helge Gabert Wrote:  By the way, the above integral can be computed immediately by hitting the ON key, after pressing ENTER.

Now *that* is truly bizarre. So it gets the result immediately, but... Decides to pretend it's taking longer?

Quote:James T. Kirk: Mr. Scott. Have you always multiplied your repair estimates by a factor of four?
Montgomery Scott: Certainly, Sir. How else can I keep my reputation as a miracle worker?
04-05-2014, 05:49 PM
Post: #8
 Helge Gabert Senior Member Posts: 460 Joined: Dec 2013
RE: Integration
Yes, bizarre is the word.

Also, why would other integration limits not present any lag time problems, e.g., int(x,x,-3,0) or int(x,x,0,5) are fine, only integrating x dx between 0 and 3 exhibits this behavior?
04-16-2014, 03:55 PM
Post: #9
 Helge Gabert Senior Member Posts: 460 Joined: Dec 2013
RE: Integration
FWIW, further analysis shows that this behavior is affected by an upper limit of the form 3*2^(n-1), n=1,2,. . . , i.e., 3, 6, 12, 24, . . . , with a lower limit of 0.
 « Next Oldest | Next Newest »

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