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

SOLVED
Visitor

## How do I get the maximum of two values ​​from different units?

Hi everybody

Im trying to determinate the maximun of  two values with different units, but Mathcad does not allow it.

t:=2m

h:=5kg

Max(t,h)= ?

Help me pls

1 ACCEPTED SOLUTION

Accepted Solutions

## Re: How do I get the maximum of two values ​​from different units?

Hi,

Here is a worksheet.

7 REPLIES 7

Hi

Max(t/m,h/kg)

Cheers

Terry

## Re: How do I get the maximum of two values ​​from different units?

@Yabo wrote:

but Mathcad does not allow it.

And for good reasons! Essentially you're comparing apples to oranges, or pears, or berries... In general it's nonsensical, certainly from a physical standpoint.

Bear in mind that if you express t in mm, and h in kg, then 't' will provide the larger value.

Success!
Luc

## Re: How do I get the maximum of two values ​​from different units?

I need the maximun of these two values.

These formulas represent the maximun reinforcement bar.

## Re: How do I get the maximum of two values ​​from different units?

That is only possible if

f ' c

is unitless.

Otherwise, as explained, it's nonsense.

Where is the worksheet...?

Success!
Luc

## Re: How do I get the maximum of two values ​​from different units?

Hi,

These are empirical equations the result of both is mm^2.  Using empirical equations you must be careful to divide the inputs f'c, fy, b, d by the right units as used by the creator of the empirical equations..

Cheers

Terry

## Re: How do I get the maximum of two values ​​from different units?

Hi,

Here is a worksheet.

## Re: How do I get the maximum of two values ​​from different units?

Thanks bro! Have nice day.