HP Forums
Inconsistency CAS vs. Home - 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: Inconsistency CAS vs. Home (/thread-4954.html)



Inconsistency CAS vs. Home - lrdheat - 10-16-2015 02:12 AM

In CAS, the integral of
((x+1)/(x^2+2*x)-(x+4)/(x^2+x)+(3/(x^2+3*x+2)) from -4 to 12 produces "undef". In HOME, it produces "Error: Invalid input"

Why the difference?

()'s in this thread for clarity.


RE: Inconsistency CAS vs. Home - Joe Horn - 10-16-2015 06:54 AM

(10-16-2015 02:12 AM)lrdheat Wrote:  In CAS, the integral of
((x+1)/(x^2+2*x)-(x+4)/(x^2+x)+(3/(x^2+3*x+2)) from -4 to 12 produces "undef". In HOME, it produces "Error: Invalid input"

Why the difference?

Did you remember to replace the x's (lowercase) with X's (uppercase) in Home? (You can't use undefined variables in Home like you can in CAS.) When I do that integral in Home, using X's, I get the same "undef" as in CAS.