Skip to main content
14-Alexandrite
September 26, 2023
Solved

Simplify this solution block

  • September 26, 2023
  • 1 reply
  • 1584 views

Hello everyone,

Please look at the attached MathCad worksheet.

I would like to know if the solution block for my problem can be simplified by using the Minerr solver.

The solution block must solve for 192 equations.

Thank you so much for the time and help.

Regards,

CarlosRomero

 

 

 

 

 

Best answer by Werner_E

How about using vectorization?

 

Werner_E_0-1695741708392.png

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
September 26, 2023

How about using vectorization?

 

Werner_E_0-1695741708392.png

 

14-Alexandrite
September 26, 2023

Hello Werner,

Thank you for your input.

Appreciate your time and help.

Seems like it also works without Vectorize?

without vectorize.png

 

All the best,

Carlos Romero

25-Diamond I
September 26, 2023

Seems like it also works without Vectorize?

Yes, it does, because Mathcad applies implicit vectorization. If this works OK depends on the calculations used. E.g. if you replace Q^2 by Q*Q you will get a different, wrong result if you don't use vectorization (because Q*Q is evaluated as scalar product of the two vectors).

So its best that whenever you want vectorization (evaluating an expression with vector feed element by element) to be done, explicitly apply it and don't rely on Mathcads implicit vectorization to be done.