Skip to main content
1-Visitor
November 28, 2016
Solved

Question on Find Function

  • November 28, 2016
  • 2 replies
  • 3945 views

what is the maximum number of nonlinear equations that can be solved in Mathcad with the Find function?

I am at 50 and it will not let me enter in the 51st variable.

Best answer by RichardJ

It's not a limit on the number of variables, but on the number of arguments you are allowed to enter. Combine some or all of the variables into a vector.

2 replies

19-Tanzanite
November 29, 2016

From the Mathcad 15 help file:

  • Solve Blocks can solve systems of up to 400 variables when using the Quasi-Newton or Conjugate-Gradient solvers. The Levenberg-Marquardt solver is unconstrained, and will solve any size system. Linear systems can have up to 8192 constraints, and nonlinear systems up to 200 constraints. When you solve for complex variables, Mathcad treats the real and imaginary parts as separate variables in the algorithm, increasing the overall variable and constraint count for the problem.

Alan

ghawkes1-VisitorAuthor
1-Visitor
November 29, 2016

When I am typing in my variables to find in the Find Function, when I try and type in my 51st comma it will not respond.

RichardJ19-TanzaniteAnswer
19-Tanzanite
November 29, 2016

It's not a limit on the number of variables, but on the number of arguments you are allowed to enter. Combine some or all of the variables into a vector.

19-Tanzanite
November 29, 2016

It is more likely a limit on the number of arguments in the function call. Try combining the variables into a vector (so instead, of x and y, x[0 and x[1, and solve for x)

16-Pearl
December 5, 2016

So, I have a huge 'find' equation where combining variables into vectors would be advantageous.  Following your advice, I can replace everything with subscripted variables.  Nice, but that makes the equations awfully hard to read since everything becomes x[0, x[1 instead of Pressure, temperature or whatever.    Here's what I got to work based on your advice.

vector2.jpg

My question is if there is anyway to stick with the native variables in the equations?  Something like this is what I'm after, but never seems to work (no solution found).

vector3.jpg

Thanks, (3.1 attached)

19-Tanzanite
December 5, 2016

This works in Mathcad 15:

I haven't tried in in Prime.