cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

units in solve block not working

jpyland
3-Newcomer

units in solve block not working

Hi, using Mathcad 15.0. I have a solve block producing some very strange units, and I can't get it solve with the right units.  If I take each result out of the Find, the units are right. Anyone know how to get this to work? Mathcad file attached.06-Dec-24 10-24-28.png

2 REPLIES 2
LucMeekes
23-Emerald III
(To:jpyland)

You should realise that the symbolic processor of Mathcad doesn't know about units, it treats them as unknown variables at best.

 

I get this:

LucMeekes_0-1733511169283.png

Then solve the set of equations symbolically:
LucMeekes_1-1733511218572.png

This results in a big expression in a matrix with one row, three columns.

Then define the values and calculate:

LucMeekes_2-1733511333956.png

Check your expressions for the various C- and LF- values.

 

Success!
Luc

Werner_E
25-Diamond I
(To:jpyland)

The symbolics does not know anything about units. So it does not know that lbf = lb*s^-2*ft and therefore it can't simplify its results.

I see no reason for using the symbolics as you are only after numeric results.

You already have provided guesses for the three variables, so stay with numeric solutions.

Because your three variables aren't of the same dimension (different units), Mathcad can't display them in one matrix, but you always can assign the result to a vector with separate variables and display them singly:

Werner_E_0-1733528981138.png

Mathcad would display the results using just the base units of the chosen unit system and lbf is a derived unit. So just type lbf in the unit placeholder after the displayed result and Mathcad will care for the rest.

 

 

Announcements

Top Tags