HP Forums
Error in integration (10637) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Error in integration (10637) (/thread-7279.html)



Error in integration (10637) - slawek39 - 11-21-2016 08:43 PM

[attachment=4173]

Emulator behaves differently.


RE: Error in integration (10637) - Alberto Candel - 11-21-2016 09:33 PM

My Prime (also 10637) returns 2 values, one exact and one approximate, and a warning that says that the Prime cannot verify that they are the same.

The exact is (1/3) [Gamma(1/3,-216)-Gamma(1/3)]
and the approximate is 5.96393809188E91,

There is no documentation entry for the Gamma(x,y) function that I can find.


RE: Error in integration (10637) - Marcel - 11-21-2016 09:40 PM

Hi,
In Home view, Slavek is right...
Marcel


RE: Error in integration (10637) - Alberto Candel - 11-21-2016 09:52 PM

Well, if, in HOME, I type what it shows in slawek image, my prime returns Syntax error. It seems that I need to prepend CAS to the integral. That is why I thought slawek was in CAS.


RE: Error in integration (10637) - Marcel - 11-21-2016 09:56 PM

Hi,
I have input the same integral and I have the same bizarre output!
Marcel


RE: Error in integration (10637) - Alberto Candel - 11-22-2016 01:30 AM

I want to add, Gamma(1/3,-216) is the incomplete Gamma, but the Prime doesn't seem to know waht to do with it other that display it. On approx(Gamma(1/3,-216)) it returns "undef".


RE: Error in integration (10637) - parisse - 11-22-2016 06:49 AM

You get two results from CAS: the exact one and the result of a numeric evaluation. Unfortunately, the exact one can not be evaled numerically because the argument of the incomplete gamma function is too large, therefore the CAS can not compare the two values that's why you get the warning.


RE: Error in integration (10637) - Jan_D - 11-22-2016 05:33 PM

With version 8151 I have in HOME view the same approximate value as in CAS, and no exact value in CAS.

In HOME view I entered uppercase X, in CAS lowercase x.


RE: Error in integration (10637) - Alberto Candel - 11-30-2016 04:18 PM

I noticed that XCAS formats the answer to this integral in a slightly different way. Maybe the Prime could do that also? And for future upgrades, could it be possible to document that Incomplete Gamma? (Thanks)