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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

UNITS & EXPONENTIATION

wbell
8-Gravel

UNITS & EXPONENTIATION

Has anyone come up with a simple approach to handling values with units that are then used in an expression that has exponents on the values.  For example, I know there has been previous discussion of concrete compressive strength, f"c being used in an expression where the square root of f'c is used.  The solution seems to be to divide out the units under the radical.

 

In the case of a fractional exponent, i.e., (12 in) ^1.5, I am dividing the value by the units (inches in this case) and the result is acceptable.

 

Thank you for your input and suggestions.  Perhaps the people at PTC can issue an instruction paper on handling units and exponentiation.

ACCEPTED SOLUTION

Accepted Solutions
StuartBruff
23-Emerald III
(To:wbell)


@wbell wrote:

Has anyone come up with a simple approach to handling values with units that are then used in an expression that has exponents on the values.  For example, I know there has been previous discussion of concrete compressive strength, f"c being used in an expression where the square root of f'c is used.  The solution seems to be to divide out the units under the radical.

 

In the case of a fractional exponent, i.e., (12 in) ^1.5, I am dividing the value by the units (inches in this case) and the result is acceptable.

 

Thank you for your input and suggestions.  Perhaps the people at PTC can issue an instruction paper on handling units and exponentiation.


I believe that the "official" method of handling units in non-linear expressions is to use the SIUnitsOf function (bearing in mind that Mathcad internally converts all units to SI units, which is why dividing by the actual units usually works).

 

See:

https://support.ptc.com/help/mathcad/r7.0/en/index.html#page/PTC_Mathcad_Help%2Fexpression_type_functions.html%23wwID0E3HWEB

https://support.ptc.com/help/mathcad/r7.0/en/index.html#page/PTC_Mathcad_Help%2Fexample_explaining_SIUnitsOf.html

 

Stuart

 

(At the entirely justifiable risk of seeming like a crank, there is some mathematical justification for believing that there actually isn't a problem with using units with non-linear expressions, provided one understands the underlying physics.   Nor is there a good reason why angles should not be regarded as a base quantity rather than as a dimensionless quantity)

View solution in original post

1 REPLY 1
StuartBruff
23-Emerald III
(To:wbell)


@wbell wrote:

Has anyone come up with a simple approach to handling values with units that are then used in an expression that has exponents on the values.  For example, I know there has been previous discussion of concrete compressive strength, f"c being used in an expression where the square root of f'c is used.  The solution seems to be to divide out the units under the radical.

 

In the case of a fractional exponent, i.e., (12 in) ^1.5, I am dividing the value by the units (inches in this case) and the result is acceptable.

 

Thank you for your input and suggestions.  Perhaps the people at PTC can issue an instruction paper on handling units and exponentiation.


I believe that the "official" method of handling units in non-linear expressions is to use the SIUnitsOf function (bearing in mind that Mathcad internally converts all units to SI units, which is why dividing by the actual units usually works).

 

See:

https://support.ptc.com/help/mathcad/r7.0/en/index.html#page/PTC_Mathcad_Help%2Fexpression_type_functions.html%23wwID0E3HWEB

https://support.ptc.com/help/mathcad/r7.0/en/index.html#page/PTC_Mathcad_Help%2Fexample_explaining_SIUnitsOf.html

 

Stuart

 

(At the entirely justifiable risk of seeming like a crank, there is some mathematical justification for believing that there actually isn't a problem with using units with non-linear expressions, provided one understands the underlying physics.   Nor is there a good reason why angles should not be regarded as a base quantity rather than as a dimensionless quantity)

Announcements

Top Tags