cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Bug in Prime 9, Symbolic

Werner_E
24-Ruby V

Bug in Prime 9, Symbolic

Wrong result with Prime's symbolic
Werner_E_0-1683751150506.png

Werner_E_2-1683751497744.png

 

 

 

 

 

 

2 REPLIES 2
LucMeekes
23-Emerald III
(To:Werner_E)

Hmm. Mathcad 11/Maple:

LucMeekes_0-1684188760447.png

Luc

Hmm, "undefined" is wrong, too, but maybe better than the wrong numeric result 1.

 

BTW, muPad in MC15 returns "undefined" for the first expression as well, but is not able to evaluate the other two (it returns "undefined" here, too).  It needs a little manual help by slightly reshaping the expression:

Werner_E_1-1684190109119.png

So we have one of the rare examples where the new symbolic performs better 😉

 

Wolfram times out on the first expression

Werner_E_0-1684192664761.png

but the CAS in the free GeoGebra does a pretty good job on this

Werner_E_2-1684192776610.png

GeoGebra seems to achieve this result by rewriting the absolute value function and also the alternate sign of (-7)^k in a creative way. It seems to automatically assume k being an integer as otherwise (-7)^k would not be defined in the set of real numbers.
Not sure if I should like that automatic behaviour...

Werner_E_4-1684193414904.png

 

 

 

 

 

Top Tags