Skip to main content
11-Garnet
June 20, 2022
Solved

Minerr function not working on Mathcad Prime 8.0. Please advise

  • June 20, 2022
  • 2 replies
  • 2471 views

Team,

 

I'm trying to do some curve fitting with the minerr function but it's not working. Any advice?

 

The LambertW function routine is working with other Mathcad Prime 8.0 workbooks.

 

Thanks,

Dr. Atlas

Best answer by LucMeekes

You've got a malformed solve block. There's a definition of C behind it.

Move the solve block to the side, then you'll see that the

LucMeekes_0-1655720088313.png

Definition is not part of it.

Delete that definition and retype it inside the 'Guess Values' part of the solve block. Then it should calculate with as result:

LucMeekes_1-1655720160688.png

Success!
Luc

2 replies

LucMeekes23-Emerald IVAnswer
23-Emerald IV
June 20, 2022

You've got a malformed solve block. There's a definition of C behind it.

Move the solve block to the side, then you'll see that the

LucMeekes_0-1655720088313.png

Definition is not part of it.

Delete that definition and retype it inside the 'Guess Values' part of the solve block. Then it should calculate with as result:

LucMeekes_1-1655720160688.png

Success!
Luc

25-Diamond I
June 20, 2022

As Luc already wrote, your guess value for C is not inside the solve block (even if it looks that way) but behind.

This happens if you try to drag a region from outside into a solve block - it does not work. The same is true for trying to drag a region from inside a solve block to outside - it will snap back. A quite silly behaviour IMHO.

But Copy/Cut & Paste does work, so you may highlight the region "C:=10^-10", press Ctrl-X and then Ctrl-V.

When I do so, I get a different result (C1=3,667*10^-10) from the solve block compared to the one Luc has given.

Werner_E_0-1655725115925.png

 

 

 

 

 

23-Emerald IV
June 20, 2022

"When I do so, I get a different result (C1=3,667*10^-10) from the solve block compared to the one Luc has given."

My mistake (don't know where though), but on repeat I get the same:

LucMeekes_0-1655725364504.png

Luc