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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Trouble with symbolic calculation (integrals) with Prime 8.0

CLE_MW
4-Participant

Trouble with symbolic calculation (integrals) with Prime 8.0

I am using Mathcad Prime Release 8.0 and Datecode8.0.0.0

I just moved from Prime 5.0 to 8.0, and some integrals (symbolic calculation with units) no longer calculate: while it tool a couple of minutes only, the orange disk turns infinitely without success.
I'm wondering whether I made a spelling error due to new engine, but I cannot find the solution.

11 REPLIES 11
LucMeekes
23-Emerald III
(To:CLE_MW)

Did you set the calculation option "Units/Constants in Symbolics" on the Calculation tab?

 

Success!
Luc

CLE_MW
4-Participant
(To:LucMeekes)

Hi Luc,

Yes, I did, unsuccessfully. Thanks for hint anyway,

Cedric

Werner_E
25-Diamond I
(To:CLE_MW)

I opened your file in Prime 6 where both symbolic engines are available.

Using the legacy engine (muPad) the calculation of Omega1.1 took way less than a minute with n.s=2.

Switching to the new engine I cancelled the operation after about 10 minutes, so I can't tell if if would run forever or not.

Setting the "Units/Constants in Symbolics" option did not change anything.

 

I guess this means that even in version 8 the new symbolic engine still is less powerful and much slower compared to its predecessor muPad (which, in turn, was less powerful than its predecessor Maple).

CLE_MW
4-Participant
(To:Werner_E)

Hi, thanks for having taken time to replicate my case. I got a similar reply from PTC team, who could replicate it as well.

Their first conclusion is something in the new engine as well.

I was expecting some time savings with the upgrade, but the contrary actually happens!

Rgds,

Cédric

MichaelW
17-Peridot
(To:CLE_MW)

Hello

 

the observed behavior regarding units is intended and works to product specification for of Mathcad Prime.

According to this Case Solution article: https://www.ptc.com/en/support/article/CS249189

the cause and solution is to tell the Symbolic evaluation whether you require units or not:

Try Calculation > Units/Constants in Symbolics to get what you want

 

image.png

 

Also refer to the Mathcad Prime Help center: Symbolics > About Units and Constants in Symbolics

 

According to the observed "regression" in the symbolics:

you are right, the symbolic engine has been replaced (again).

The new symbolic engine introduced in Mathcad Prime 6, is replacing the legacy symbolic engine.

This is since Mathcad Prime new symbolic engine is (for legal reasons) a complete re-design, rather than an upgrade.
We are sorry if one face any engine regression where improvement is expected with that replacement.

Thank you for understanding and filing new Technical Support cases against it.
 

With regards, Michael, Technical Support

ttokoro
20-Turquoise
(To:CLE_MW)

Second page note. Change the first page unit m to only unit and not auto as shown below. Then you get what you want in second page. 

image.pngimage.png

LucMeekes
23-Emerald III
(To:CLE_MW)

You should (get less of this kind of problems if you) use symbolics to do just the symbolics. I propose you define:

LucMeekes_8-1648742672187.png

 

Then with:

LucMeekes_1-1648742006781.png

You can have symbolic results, e.g.:

LucMeekes_9-1648742732302.png

and

LucMeekes_10-1648742787583.png

 

And if you supply numerical values (with units as appropriate):

LucMeekes_4-1648742131123.png

You can have meaningful numerical results, such as:

LucMeekes_5-1648742200030.png

Success!
Luc

 

 

CLE_MW
4-Participant
(To:LucMeekes)

Hi,

Thanks for this powerful hint. It's completely different approach to what I used to do, but that's very efficient, in addition to clarity. I gave it a try, and it simplifies the calculations, as well as it seems to shorten them...then many thanks again.

However, the problem remains as soon ns=2 is set. Whatever the method, MC has to integrate this function

CLE_MW_0-1648830518841.png

And even with some numerical values substituted, Prime 8.0 doesn't find the solution. I'll leave it running over the night and see!

Thanks,

Cedric

 

LucMeekes
23-Emerald III
(To:CLE_MW)

Hi Cedric,

 

It really shouldn't be that hard, even for Prime.

With the numerical values so far, these are the results for that integral for n.s =1 and 2:

LucMeekes_0-1648835870462.png

Can you attach your Prime file?

 

Success!
Luc

CLE_MW
4-Participant
(To:LucMeekes)

Hi Luc,

Are you using MathCad Prime 8.0 as well? Because on previous version there was no issue about that, even under the format I used to type. I need to make-up my file a bit before sharing...

Cédric

CLE_MW
4-Participant
(To:LucMeekes)

Hi luc,

Here's the file. Good luck!

Cédric

Announcements

Top Tags