cancel
Showing results for
Did you mean:
cancel
Showing results 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

24-Ruby IV

## Is it an error in Prime?

6 REPLIES 6
24-Ruby V
(To:ValeryOchkov)

If you ask PTC you probably would hear that Its not bug, but a feature. 😉

I wouldn't call it a bug but a rather a quite senseless limitation of Prime. Prime, because of the evaluation equality sign, identifies a condition and then realizes that it is not..

Of course you may call it a bug, too, as I can't think of a situation where this behavior would be beneficial.

As fortunately we don't experience this behavior in Mathcad 15 we sure can say that is it at least a deterioration.

24-Ruby IV
(To:Werner_E)

But

24-Ruby V
(To:ValeryOchkov)

Yes, a solve block is pure numerics and obviously immune against symbolics. In Prime, we can not even evaluate Find (x) symbolically - another step backwards.

23-Emerald III
(To:ValeryOchkov)

I don't see what's wrong with this. the assigment of a/2 to x is just setting the guess value.

I would be very surprised if in this case the result of the Find() would have been 2, given the constraint that x^2=9.

Luc

24-Ruby V
(To:LucMeekes)

@LucMeekes wrote:

I don't see what's wrong with this. the assigment of a/2 to x is just setting the guess value.

I would be very surprised if in this case the result of the Find() would have been 2, given the constraint that x^2=9.

Luc

The problem is not the result 2, but the problem is the solve block failing when the assignment of the guess value is followed by a numeric evaluation equal sign as shown in Valerys first post. A symbolic evaluation after the assignment does not result in an error - thats what Valery tried to point at.

The problem showed up in this thread