Skip to main content
4-Participant
Jan 17, 2024 10:23 PM UTC
Solved

MathCad Printing/Units

All,

 

I am using a building code prescribed equation with a constant that does not have units assigned in the code.  As a result MathCad gives a Unit error.  Now I could backsolve to find the units but that seems cumbersome.  Can I simply force MathCad to solve the equation and remove the red rectangle from the output/print?

LucMeekesAnswer
23-Emerald V
Jan 17, 2024 10:46 PM UTC

This seems to be an empirical expression (as opposed to one that is derived from physics basics). The factor 0.43 in your expression (probably) works only if you enter the other variables with the units prescribed by the building code. It's better to divide each of the variables by the units prescribed and add the output unit (ft ?) to the result.

 

Success!

Luc

4 replies

LucMeekes23-Emerald VAnswer
23-Emerald V
Jan 17, 2024 10:46 PM UTC

This seems to be an empirical expression (as opposed to one that is derived from physics basics). The factor 0.43 in your expression (probably) works only if you enter the other variables with the units prescribed by the building code. It's better to divide each of the variables by the units prescribed and add the output unit (ft ?) to the result.

 

Success!

Luc

Translate
Werner_E
25-Diamond I
Jan 18, 2024 12:59 AM UTC

If you want Prime to just use the numbers and ignore the units you have to provide unit-less quantities. As Luc already wrote you do this by dividing the variables by the correct unit. Which unit the "correct" one is should be part of the documentation which accompanies the empirical formula.
Here is an example, using the units you used when defining your variables:

Werner_E_0-1705539433664.png

 

As an alternative you may apply a unit to the constant 0.43, but I don't think that this should be done as its just an empirical formula which really can't be made unit-aware by this way

Werner_E_1-1705539538550.png

Actually the "unit" provided for 0.43 does the very same which the much clearer method shown first did - it divides the units and adds ft to the result.

 

Translate
4-Participant
Jan 18, 2024 3:08 PM UTC

Thank you!

Translate
4-Participant
Jan 18, 2024 3:08 PM UTC

Thank you!!!

Translate