Skip to main content
12-Amethyst
December 12, 2022
Solved

Solve block finds no solution

  • December 12, 2022
  • 2 replies
  • 4170 views

I implemented a solve block, which worked with Prime6. Now with Prime7 it does not find a solution anymore. I reworked the problem using a simpler function to make it easier to understand and even this easy equation is not solved. Unluckily I have a new computer for some weeks, with a completely new installation and only have Prime7 installed.

Both versions of the solve block do not work. I know, that the equation could be solved easier, I just used the solve block for demonstration (see attached SolveBlock). In my application the function is much more complex and it worked with Prime6 (SolveBlock_original).

Best answer by Manfred_F

Thank you all for helping.👍

Today I opened the file and it worked at once. Maybe I had no licence or whatever, but Prime was calculating without end showing the yellow circle for at least 15 minutes yesterday. I tried it several times yesterday with the same result. Also the original calculation now works.

For the future it would be good to get an error message or whatever in such a case.

2 replies

21-Topaz II
December 12, 2022

Hi,

You need to make some definitions before the solve block.

See the comments in the file

Capture.JPG

Manfred_F12-AmethystAuthor
12-Amethyst
December 12, 2022

Hi Terry,

thanks for the help, but I cannot open the file. I'm using Prime7. Can you send me a screenshot or the file in Prime7 format?

Manfred_F12-AmethystAuthor
12-Amethyst
December 12, 2022

Hi Terry,

when you look into my example on the right side (Lower2). This did also not work. By the way you can use a function as a parameter, as it was done on the left side. In this case you can provide the function as a parameter to the solve block. As I said this worked with Prime6 as you can see in "SolveBlock_original"

23-Emerald IV
December 12, 2022

I opened the file with Prime 7, and saw no results.The Stop All Calculation and Calculate buttons were greyed out.

Then I pressed the Auto Calculation button and promptly got:

LucMeekes_2-1670870505427.png

As well as the result for Lower2(50)=0.505.

Can't show here because the forum software is not helping by refusing to show pictures.

 

Anyway, is this what you hoped to get?

 

Success!
Luc

25-Diamond I
December 12, 2022

So this means that maybe the problem simply was that "Autocalc" was turned off !? 🙂

 


Can't show here because the forum software is not helping by refusing to show pictures.


So you are experiencing the incredible slow reaction of the forum software as well?
Actually the embedded pictures will show up sooner or later, but it takes a long time. Its like accessing Khoros using a stone age old 56k modem.

I already brought the problem to @Jaime_Lee 's attention by posting a note here

https://community.ptc.com/t5/Mathcad/Van-Roomen-s-problem/m-p/843290/highlight/true#M204117

and also sent her a PM with more details.
Since I had the same effect with another machine on a different network with a much snappier Internet connection, I was pretty sure that the problem was not on my end. However, I had been puzzled by the fact that no one else had complained of problems here yet.

 

Manfred_F12-AmethystAuthorAnswer
12-Amethyst
December 13, 2022

Thank you all for helping.👍

Today I opened the file and it worked at once. Maybe I had no licence or whatever, but Prime was calculating without end showing the yellow circle for at least 15 minutes yesterday. I tried it several times yesterday with the same result. Also the original calculation now works.

For the future it would be good to get an error message or whatever in such a case.