Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi Everyone,
Any chance anyone has an idea why I am getting odd units? I did the exponent by hand below just to check and it comes up with 1 like it should.
Thanks in advance!
formula:
Exponent check:
Version: PTC Mathcad Prime Express 9.0.0.0
Solved! Go to Solution.
You found a severe bug in Prime.
Somebody should report it to PTC support.
As you are using the free Express, you probably are not eligible to to so. PTC seems not to be interested in bug reports by non-paying users (which implies that improving the quality of Prime seems not be of high priority to them).
I tracked down the issue to a simple example (you must not use kg, use any unit):
Obviously the result should be simply 1 kg.
Here some examples using others numbers:
Like Martin I see no other workaround for you but doing the calculation unitless and add the correct unit manually
An easier workaround was shown by ttokoro, but because it uses symbolic evaluation its not available to you as you are using the free Express version of Prime
(It would also be necessary to enable units in symbolics in the calculation option to make this work)
This show the unit is kPa.
Hi,
I guess the problem is caused by numerical inaccuracies when exponentiating the value in kPa by non-integer value. Unfortunately I do not know how to resolve the problem. Of course, you can divide values by units to get scalar values -OR- remove kPa units from variables.
You found a severe bug in Prime.
Somebody should report it to PTC support.
As you are using the free Express, you probably are not eligible to to so. PTC seems not to be interested in bug reports by non-paying users (which implies that improving the quality of Prime seems not be of high priority to them).
I tracked down the issue to a simple example (you must not use kg, use any unit):
Obviously the result should be simply 1 kg.
Here some examples using others numbers:
Like Martin I see no other workaround for you but doing the calculation unitless and add the correct unit manually
An easier workaround was shown by ttokoro, but because it uses symbolic evaluation its not available to you as you are using the free Express version of Prime
(It would also be necessary to enable units in symbolics in the calculation option to make this work)
Applying my simplified example to real Mathcad (version 15) shows that the problem seems to be quite old.
The error message shows a strange limitation which obviously was incorporated into Prime, but without throwing an error if violated:
Quite old, yes, but not extremely old:
Luc
It's a bug. It should go like this:
Success!
Luc