Skip to main content
1-Visitor
January 27, 2022
Solved

Given-Find to Block Solve

  • January 27, 2022
  • 1 reply
  • 5555 views

Hello, I am tasked with updating our programs from MathCAD 15 to Prime 7.0. The below was a Given-Find statement in 15 and has worked for many years just fine. Now Prime 7.0 has changed to SolveBlock and is flagging R' in the constant as "R' has multiple definitions, you must specify a label to select the definition that you want".

 

Note the 'guess values' were added to the solve block in hopes that would solve the issue, it didn't work, since the new block did not have a guess value upon conversion

MA_10190545_0-1643318701403.png

 

Best answer by MA_10190545

OMG Werner. Prime is so picky. I went to a different program that uses the same equation and updated there with no problems. Copied that into the original program and now it's working just fine. Thanks for all the help.

1 reply

25-Diamond I
January 27, 2022

You have to delete and retype all occurrences of R', r' and C' in the solve blocks using the straight apostrophe

 

1-Visitor
January 28, 2022

Werner, Thanks for the previous help. I got past that speed bump only to find another. Further down the calc at the output EBOLT errors stating, "this function accepts at most 6 arguments but is applied to 7". As before, this is an old equation that has worked for a very long time in previous releases. If I remove any of the arguments from EBOLT then the whole thing shuts down. Also, in the definition for EBOLT, below, the TOL is printed in bold; does that mean there is some issue occurring with that. Could part of the issue be stemming from Vo, V1, V2 in the EBOLT definition? They were flagging as "undefined" so I defined them above equal to 1. 

 

MA_10190545_0-1643387278701.png

 

MA_10190545_1-1643387595306.png

 

 

12-Amethyst
January 28, 2022

TOL is a built-in variable. MathCAD Prime has a few of those. See the full list here:

 

PTC Mathcad Help

 

Name
Default Value
Use
TOL
0.001
Controls the convergence precision of some functions such as integrals, derivatives, odesolve and the root functions.

 

Are you trying to use TOL as the built-in TOL, or is it a variable you have set?