02-07-2017, 04:24 PM

I can't evaluate the following integral. This is an integral commonly used in electromagnetic field theory. 1/4piE is the proportionality constant and P is the charge density. I am integrating this expression with respect to Z. One of my friends with an NSPIRE CX CAS evaluated this integral with ease, giving him an accurate resultant expression. My HP Prime is giving me an bad form of the resulting expression. What am I doing wrong? Is this calculate even capable of evaluating such integrals? If not, what a waste.

Here is a photo sequence of my calculation:

This simplified final result is pretty wrong. My friend got the accurate answer on his NSPIRE CS CAX...here is his screen. P.S. Using reserved variables didn't affect his calculation, he said. Using other variables in my calculation made no difference, only asterisks and parentheses. Regardless of this, I cannot get his result. Help?

Even in Wolfram Mathematica, the integral is evaluated as it is in my friend's NSPIRE CX CAS (just the integral, before it is multiplied by the constant behind the integral).

HP Support Forums mentioned it's denominator is root-free (the HP Prime's calculation), how do I change this? How do I make it so I receive the same result as my friend and Mathematica? Thank you.

Here is a photo sequence of my calculation:

This simplified final result is pretty wrong. My friend got the accurate answer on his NSPIRE CS CAX...here is his screen. P.S. Using reserved variables didn't affect his calculation, he said. Using other variables in my calculation made no difference, only asterisks and parentheses. Regardless of this, I cannot get his result. Help?

Even in Wolfram Mathematica, the integral is evaluated as it is in my friend's NSPIRE CX CAS (just the integral, before it is multiplied by the constant behind the integral).

HP Support Forums mentioned it's denominator is root-free (the HP Prime's calculation), how do I change this? How do I make it so I receive the same result as my friend and Mathematica? Thank you.