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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Simplify yields result in huge powers of 10... why?

ptc-1845839
1-Newbie

Simplify yields result in huge powers of 10... why?

instead of:

why do I need to force a simplification by cutting and pasting? Once I do this, I loose the continuity of the equations when changes are made.

Joe

20 REPLIES 20

I'm sorry,

The editor showed my cut and paste from mathcad but it didn't show up in the posting.

In any event, what I'm having problems with is the result of a simplify having numbers that are on the order of "6.643879587423658953e20" where the simplification can yield a much more meaningful result if these large numbers were just divided out in the numerator and denominator. Instead, I have to cut and paste to do the division myself to get a simiplified result. This breaks the continuity of the equation thread.

Joe

If you did not already try,

select the result, then Forma<Result<fraction and select the desired precision

RichardJ
19-Tanzanite
(To:ptc-1845839)

Please post an example worksheet.

Could you attach a worksheet?

Here is an example of what I'm doing. As you can see, I have to copy and paste to manually divide to get a simpler result. I am using version 14 updated.

Joe

RichardJ
19-Tanzanite
(To:ptc-1845839)

Looks like a bug to me.

Richard,

Another example:

Example.jpg

RichardJ
19-Tanzanite
(To:VladimirN)

That's a good example, because now I understand what it's doing. It's scaling the numbers so that they can be represented as integers. Try gradually adding more digits to the floating point number in the numerator. The integers in the result get bigger (of course), and when they get big enough they switch to scientific notation with a large exponent. In Joseph's original example they are scaled so that the exponents are huge.

Perhaps it could be argued that integers are "simpler" than floating point numbers when the integers are relatively small, but when they are so large they are represented using huge exponents then, IMHO, they are not simpler at all.

Well, in version Prime 2.0 (Alpha2), we have the same result:

Simplify.jpg

In some cases, can help circumvent the bug Mathcad:

exz1.JPG

exz2.jpg

exz3.jpg

Please see the attachment.

Vladimir,

Thanks for the response but your file looks the same when opened with my MC 14. All simplifications have factors in high powers of 10.

Joe

I'm sorry, my mistake. I attached the corrected original document, as at the opening I get the following error:

Pic_1.JPG

VladimirN. wrote:

I'm sorry, my mistake. I attached the corrected original document, as at the opening I get the following error:

Try this file:


RichardJ
19-Tanzanite
(To:ptc-1656721)

In general, you should not do that. The float keyword does not just change the display precision of the result, it changes the calculation precision of the symbolic processor. The symbolic processor does arbitrary precision arithmetic, with a default precision of 20 (so much more than the floating point processor used in numeric computations). But you can change that using the float keyword. Float, 3 means the calculations are done at very low precision.

And it doesn't fix the large exponent problem anyway. In MC15 the exponents are still 10^22 or 10^23.

Richard Jackson wrote:

In general, you should not do that. The float keyword does not just change the display precision of the result, it changes the calculation precision of the symbolic processor. The symbolic processor does arbitrary precision arithmetic, with a default precision of 20 (so much more than the floating point processor used in numeric computations). But you can change that using the float keyword. Float, 3 means the calculations are done at very low precision.

And it doesn't fix the large exponent problem anyway. In MC15 the exponents are still 10^22 or 10^23.

May then be so:

I think that you need to create a new "Case" on the issue (so this bug has been added to the list of SPR of expected fixes) in PTC technical support: http://www.ptc.com/appserver/cs/case/case_logger.jsp

P.S. Also, this article ("How to Use the Brand-New Online Mathcad Support Center") will be useful: http://blogs.ptc.com/2011/09/22/how-to-use-the-brand-new-online-mathcad-support-center/

Joseph Bush wrote:

Here is an example of what I'm doing. As you can see, I have to copy and paste to manually divide to get a simpler result. I am using version 14 updated.

Joe

Joseph Bush wrote:

I'm sorry,

The editor showed my cut and paste from mathcad but it didn't show up in the posting.

In any event, what I'm having problems with is the result of a simplify having numbers that are on the order of "6.643879587423658953e20" where the simplification can yield a much more meaningful result if these large numbers were just divided out in the numerator and denominator. Instead, I have to cut and paste to do the division myself to get a simiplified result. This breaks the continuity of the equation thread.

Joe

Several actions and no problems:

correct_symbolic.JPG

That's interesting because you are using the := instead of the ctrl=. In my version of 14 that generates a "Cannot understand this syntax" when using the symbolic "simplify".

Joe

RichardJ
19-Tanzanite
(To:ptc-1845839)

That's interesting because you are using the := instead of the ctrl=. In my version of 14 that generates a "Cannot understand this syntax" when using the symbolic "simplify".

It depends on where the assignment operator is. If it is part of the expression that is to be simplified you will get that error. If you deleted the ctrl= using the backpspace and then inserted the assignment operator in the resulting placeholder that is what you should get. Instead, delete the ctrl= and "term1", select the entire symbolic expression, with the insertion opint on the left, and then insert the assignment operator and type in the variable name.

Top Tags