Skip to main content
1-Visitor
August 27, 2015
Solved

Yet another solve block issue

  • August 27, 2015
  • 5 replies
  • 2088 views

New MathCAD user here. I have spent the last day going through other solve block issues and see if someone else made a similar mistake as myself, to no avail.

I am trying to solve a 3 variable system of equations with solve block and get and error. Any guidance is appreciated

Best answer by Werner_E

The problem is the equal sign after Find.

Find returns a vector and your three solved for variables have different units (more precisely: dimensions). Mathcad 15 and below has static unit checking and does not allow for a matrix consisting of elements with different dimensions.

This limitation is not present in Prime, as Valery has shown. While Prime has many (and I mean really many!) drawbacks and is not one but quite a lot of steps backward in evolution, this sure is one of the very few improvements made. Not that it would be a reason to switch from MC15 to Prime, but fair is fair, its an improvement.

There is an easy solution to your problem, though. While you cannot evaluate(=) Find, as this would force MC to display a vector with different units, you can assign the result of Find to variables which you put into a vector and display each one separately (and of course you have to delete the evaluation equal sign after Find):

BTW,  you don't have to use the same variable names when assigning.

WE

5 replies

24-Ruby IV
August 27, 2015

May be problems with units in solve block Mathcad 15.

err.png

All ok in Prime:

Spans.png

Werner_E25-Diamond IAnswer
25-Diamond I
August 27, 2015

The problem is the equal sign after Find.

Find returns a vector and your three solved for variables have different units (more precisely: dimensions). Mathcad 15 and below has static unit checking and does not allow for a matrix consisting of elements with different dimensions.

This limitation is not present in Prime, as Valery has shown. While Prime has many (and I mean really many!) drawbacks and is not one but quite a lot of steps backward in evolution, this sure is one of the very few improvements made. Not that it would be a reason to switch from MC15 to Prime, but fair is fair, its an improvement.

There is an easy solution to your problem, though. While you cannot evaluate(=) Find, as this would force MC to display a vector with different units, you can assign the result of Find to variables which you put into a vector and display each one separately (and of course you have to delete the evaluation equal sign after Find):

BTW,  you don't have to use the same variable names when assigning.

WE

24-Ruby IV
August 28, 2015

Werner!

I am glad to your back on the forum!

We needed You!

For example for the old task about the catenary with a load.

I hope we solved it.

See please Catenary with load

We needed you and... one more (9-th) equation.

Check please!

It is new type of systems - algebra-programming system of equation!

25-Diamond I
August 28, 2015

Valery Ochkov wrote:

Werner!

I am glad to your back on the forum!

Not really back as I used to be, I guess. But it looks like a combination of too much spare time and a computer with Mathcad still installed is tempting 😉

Its sad to see that nothing has improved here. Neither the devastated Forum software, nor Mathcad or Prime itself. From what I read from Stuart it looks like MC15 M040 is rather buggy and not an improvement. Seems to be the PTC way to deal with tasks.

As far as i remember the question in that old monster thread where I played the role of the Advocatus Diaboli ,basically was, if the rope with point load can be described in an exact analytical form by two ordinary cosini hyperbolici which degenerate in two straight lines in the one extreme (infinite point load) or are identical in the other (no load).

Is this question now already answered (symbolically)? I still see just a numeric solve block, not a set of two equations 😉

WE