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

Mathcad Prime 10 vs Mathcad15 : Mathcad Prime10 could not find solution to this problem

AkmarulSalleh
5-Regular Member

Mathcad Prime 10 vs Mathcad15 : Mathcad Prime10 could not find solution to this problem

Hello Mathcadeers,

I am designing a phase lock loop circuit (electrical engineering) and trying to use Mathcad Prime 10. I got stuck, as Mathcad Prime 10 could not find the solution. I used to be able to solve this, with no problem in Mathcad15.

The program is to find the cross section (on the x-axis) of the DARK and the RED traces, where Fout1 is a variable. 

AkmarulSalleh_0-1736732608694.png

Attached is the MP10 file. For illustration, I set Fout1 to sweep from 3.5Ghz to 12.5Ghz, 1Ghz step. 

It takes really long (really long) to find the solution. If Fout1 has 3 points, then takes few minutes. If Fout1 is say 10points, it probably won't be able to find the solution. In Mathcad15, it takes 2 or 3 seconds. Attached is the file, in case anyone want to take a a look. 

AkmarulSalleh_2-1736732898604.png

 

Regards,

Ak

 

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

I would suggest to forget about the weak symbolics and rather use Primes numeric capabilities to get numeric results.

You may setup a function based on the "root" function which gets the desired solution for any input of Fout.

You may then call this function with your range Fout1 as argument or vectorized with a vector as its argument.
BTW, I don't think that using the "Re" function is necessary so I omitted it.

Werner_E_2-1736736111005.png

 

Of course you could also use the function to plot the results over a certain range of Fout values

Werner_E_1-1736735953379.png

Prime 10 sheet attached

View solution in original post

2 REPLIES 2

I would suggest to forget about the weak symbolics and rather use Primes numeric capabilities to get numeric results.

You may setup a function based on the "root" function which gets the desired solution for any input of Fout.

You may then call this function with your range Fout1 as argument or vectorized with a vector as its argument.
BTW, I don't think that using the "Re" function is necessary so I omitted it.

Werner_E_2-1736736111005.png

 

Of course you could also use the function to plot the results over a certain range of Fout values

Werner_E_1-1736735953379.png

Prime 10 sheet attached

AkmarulSalleh
5-Regular Member
(To:Werner_E)

Thanks so much for the speedy and awesome solution @Werner_E . I was about to abort MP10, and revert to M15 :).

 

Ak

Announcements

Top Tags